[Next] [Up] [Previous]

The LOCATE Statement

The LOCATE statement has the form

       LOCATE (variable,variable...,address),...

and causes variables to be stored at a specified address in the computer's memory. Most uses of this statement are system-dependent. Implementations for use on time-sharing systems may support this statement in only a very limited way, perhaps only allowing statements like

       LOCATE (X,%(5+_ADR(Y)))

which do little that cannot be done with EQUIVALENCE statements.

Note also that even the above example is not system-independent, as FALCON does not require that addresses be supplied in a form that can be manipulated via integer arithmetic.


[Next] [Up] [Previous]