The LOC function can either return a longword integer specifying the virtual address of a simple or subscripted variable or return the address of an external routine. Example A% = LOC(B%)
1 – Syntax
int-var = LOC(var) int-var = LOC (ext-routine-name)