Declaring objects
Objects look like scalar numeric symbols e.g. Range, Document, abc, etc. KCML distinguishes their type entirely from context or the use of an OBJECT prefix. They should be DIMed or LOCAL DIMed to establish scope though this is not currently mandatory. The grammar for DIM, COM and LOCAL DIM has been enhanced to prefix the name with the new keyword OBJECT as in
DIM s$100, OBJECT Range, OBJECT Cell
When declared in this way only a placeholder symbol is created and the object itself is not instantiated at resolve time or when a LOCAL DIM is executed. The object has an initial value of NULL.