Hi, I'm trying to understand how an application written in either a compiled or interpreted language know its variable's type. I understand that with compiled languages you define the type in your code and in an interpreted language the interpreter decides the type of the variable based on the "value" you assign to it. What I really want to know is how, at run-time, does the program know what the variable's type is. My assumption at this point is that the variable has a reference to its type, if this is the case, where is the type stored?
Thanks in advance for any help.
Thanks in advance for any help.