Opened 15 years ago

Closed 15 years ago

#581 closed Feature Request (Rejected)

DeAssign() ??

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


need DeAssign() func.

If IsDeclared("test") Then
	MsgBox(0,"", "$test IS declared"  )
	MsgBox(0,"", "$test is NOT declared") 

HOW to destroy variable "test"?

Assign("test","")     ;dont work
Assign("test",Chr(0)) ;dont work

or is there a way to do it?

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

Once a variable exists in a scope, there is no way to remove that variable from a scope. You can clear the contents by assigning it an empty string but the variable will still exist. This will not be changed.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.