HyperCard 2.0: Unitialized Variables (7/92)

There is some inconsistency in how HyperCard 2.0 treats unitialized
variables and the constant "empty".

For example, typing

the number of items of myVariable

into the message box returns "1" when myVariable has not been initialized.

However, initializing myVariable with

put empty into myVariable

and then typing

the number of items of myVariable

returns "0".


This article is adapted from the Claris Tech Info database.
Published Date: Feb 19, 2012