Modify ↓
Opened 16 years ago
Closed 16 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 Changed 16 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
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.
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.