[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Detecting current mode
- Subject: Re: Detecting current mode
- From: "Robert Holmgren" holmgren@xxxxxxxx
- Date: Sat, 30 Sep 2006 23:51:12 -0400
** 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
-----------------------------