Field data Assignment

David Thompson dthmpsn1 at uiuc.edu
Wed Feb 6 10:48:00 PST 2008


>I know that a variable is simply a static location from which and
>into which data is put.

Actually, in Panorama and many other scripting languages, variables 
are pretty dynamic. The memory they use is dynamically allocated and 
reallocated with each assignment. It's entirely possible to assign a 
four byte integer to a variable, and then later in that same 
procedure, assign a couple megabytes of text to that same variable. 
Data type is determined dynamically with each assignment as well, 
which is why you can assign text to a variable that currently 
contains an integer.

Dave


More information about the Qna mailing list