403forbidden Posted June 12, 2009 Share Posted June 12, 2009 Is there any way to delete the contents of a variable other that doing... $var = "" Thanks a lot, 403forbidden Link to comment Share on other sites More sharing options...
nguyenbason Posted June 12, 2009 Share Posted June 12, 2009 (edited) Just like the code you show :| Edited June 12, 2009 by nguyenbason UnderWorldVN- Just play the way you like it Link to comment Share on other sites More sharing options...
James Posted June 12, 2009 Share Posted June 12, 2009 There is no function for this. What you're doing is fine. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
403forbidden Posted June 12, 2009 Author Share Posted June 12, 2009 How much memory does an empty variable take up? Link to comment Share on other sites More sharing options...
Inverted Posted June 12, 2009 Share Posted June 12, 2009 How much memory does an empty variable take up?I'm sure it's only significant if you start using tens of thousands of variables. Don't worry about just a few Link to comment Share on other sites More sharing options...
James Posted June 12, 2009 Share Posted June 12, 2009 How much memory does an empty variable take up?Not enough for you to worry about. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
rajeshontheweb Posted June 13, 2009 Share Posted June 13, 2009 if u have functions, then as far as possible keep the variables local and the scope (if i understand correctly) dies as soon as you are out of the function, thereby saving space if u are concerned! anyways as people have mentioned, its generally ignorable as long as u free the variable to null after its usage. Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet Link to comment Share on other sites More sharing options...
403forbidden Posted June 13, 2009 Author Share Posted June 13, 2009 Gotcha. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now