PDA

View Full Version : Layers


rishimad
10-26-2003, 08:42 PM
Hello all!!
On earlier versions of ME10 <11.00, the current layer was displayed on the status line as to what current layer you was working on.

We use layers alot, does anyone know of or has a macro that displays the current layer for ver 11.00?

Thanks
Rishi

ceste76
01-16-2004, 07:29 AM
Hi,
if you need off the current LAYER-number....
The solution in this case is the use of the INQ_ENV 8 and INQ_ENV 9 as well as
INQ 303 and INQ 305 functionality.

DEFINE layer
LOCAL c
LOCAL d
inq_env 8
LOOP
inq_env 9
let c (inq 303)
let d (inq 305)
EXIT_IF (d = 'SYS:LAYER_SCOPE')
END_LOOP
display (c)
END_DEFINE

Else you need level part.... I don't know!