[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Detecting current mode



** Reply to message from "Martin J. Osborne"  on
Sat, 30 Sep 2006 23:34:46 -0400


> Is there an easy way of detecting in an XPL program the mode (or color)
> of the character at the cursor? It seemed to me that VA $RA might do
> the trick, but it appears not to.

. Like this:

>

Returns "NM", "BO", etc.
VA$RA tells you the color value assigned (in DFL) to the current MoDe.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------