Pointer types

Language reference ›› Types ››
Parent Previous Next

Pointer types may be defined forward as in standard Pascal:

 


TYPE
  pMyType = ^tMyType;
  … 
  tMyType = BYTE;

 

Restriction: the forward declared pointer must be found in the current TYPE block.  


A special untyped pointer may be declared as ROM pointer, so if may point to some constant in the CODE memory, like constant arrays:

 


VAR
  pMyType = ROM POINTER;