Modify

Opened 17 years ago

Closed 17 years ago

#581 closed Feature Request (Rejected)

DeAssign() ??

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

Description

need DeAssign() func.

Assign("test",21)
If IsDeclared("test") Then
	MsgBox(0,"", "$test IS declared"  )
Else
	MsgBox(0,"", "$test is NOT declared") 
EndIf

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 by Valik, 17 years ago

Resolution: Rejected
Status: newclosed

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.