nnnik wrote:Well no I dont think thats neccessary.
Not sure what you are referring to...
nnnik wrote:What are you going to use this for?
No specific application other than wanting to understand how things work
nnnik wrote:You could always read the AHK source if you really want to find out what a variable is.
He He! Spent most of the past month getting to the next level with AHK -- maybe next round I can try that (i.e. examining C++ code?). Hoping in the meantime some of you experts can satisfy my questions.
jeeswg: thanks for the practical advise
From responses so far and pouring through the documentation, I'm left with the impression that AHK doesn't provide a means to examine the memory locations used to store a variable's contents in the case where a variable's value is a number... that some caching is going on whereby AutoHotkey automatically converts between numbers and strings
, and the mere act of referencing a variable's address effectively converts the variable's value to a string, disabling caching until the variable's address changes
. Bottom line: Although a variable can contain both a string and a number simultaneously
, it looks like AHK only provides the means for me to examine the string value as it is stored in memory and not the number, correct?