foscmgt 0 Posted December 14, 2003 Hey Jim,How do I declare a numeric variable? Everytime I try I get an error message:Access violation at 00000066. read of Address 0000006I suppose you are working with Autoit v3.Here you are an extract of AutoIt v3.0.77 help file :Variants========All values are "Variants" and take a "integer", "float", or "string" value as required. The value type changes to match the situation they are being used in.Data types can be overridden by using the casting functions Int(...) Float(...) and String(...)e.g.$var = 31.02; $var is now a float$var = Int($var); $var is now equal to the INTEGER 31The casting functions should be used when mixing types and when you require a specific type of result or operation.Is necessary to use the $ simbol in front any variable. Ex. :$var is a variable var is not a variable Manel(foscmgt #20741) Share this post Link to post Share on other sites
Idea 0 Posted October 1, 2005 Is necessary to use the $ simbol in front any variable.Since no one has replyed in two yaers:it is neccary to use $ when talking bout $variablesn Share this post Link to post Share on other sites
/dev/null 2 Posted October 1, 2005 Since no one has replyed in two yaers:it is neccary to use $ when talking bout $variablesnIdea, you are sooo funny....Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Share this post Link to post Share on other sites