Oldham, Adam wrote:
But, I didn't see it in the documentation. When creating a new variable in a function or main part of a program: temp : String[30]; Does the compiled code when run, automatically zero out the new variable temp? It either appears that is does, or the memory used in my apps was already zeroed to begin with.
Most OSs clear the memory allocated to a proccess (for security reasons), but don't rely on it. In general, any newly declared variable should be considered undefined. If you want it empty, do tmp := ''
Frank