[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: NR (no ruler)
- Subject: Re: NR (no ruler)
- From: Carl Distefano cld@xxxxxxxx
- Date: Wed, 30 Jan 2008 00:10:48 -0500
Reply to note from Harry Binswanger Tue, 29 Jan
2008 15:46:07 -0800
> Simplicity itself: NR function. In STARTUP.INT add
>
> NR NR
>
> where they are PFUNCs.
>
That's correct -- *assuming* that the current state is ruler
displayed (VA$NR==1), a safe assumption at startup (because it's the
default).
To elaborate: func NR is a 3-way toggle (a troggle?): no ruler -
ruler - horizontal line. The current state of the ruler is shown by
: 0=no ruler, 1=ruler, 2=line. Therefore, a reliable way to
set any of these three states -- regardless of the current state of
the ruler -- is (in pseudo code):
<>x>NR , substituting for "x" the desired
value, 0, 1, or 2. In real (DECODEable) code, to force a horizontal
line (==2):
XPLeNCODE v2.0
b-gin [UNTITLED]
{<}LBa{>}{<}IF{<}VA$NR{>}<>2{>}[NR_]{<}GLa{>}{<}EI{>}
-nd
XPLeNCODE
--
Carl Distefano
cld@xxxxxxxx