Modify ↓
#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 , on Sep 16, 2008 at 5:28:00 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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.