[Oberon] Re: Viewer marking.

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Wed Mar 14 19:10:54 CET 2018


    > Is there a practical way to check whether the Pointer is
    > in a Text or Document viewer and not in the FillerViewer?

IF v.state > 1 THEN  (*v is a displayed viewer*)  … 
ELSIF v.state = 1 THEN  (*v is a filler viewer*) …
ELSIF v.state = 0 THEN  (*v is a closed viewer*) … 
ELSIF v.state < 0 THEN  (*v is a suspended viewer*) …
END




More information about the Oberon mailing list