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

Re: Programming query Variable DT



** Reply to message from "Patricia M. Godfrey"  on Thu, 04
Aug 2005 12:39:30 -0400


> XPLeNCODE v2.0
> b-gin [UNTITLED]
> {<}SX01,{<}VA$DT{>}{>}{<}SX02,0{>}{<}IF{<}VA$DT{>}={<}PV02{>}
> {>}[BX_]d DT=1[Q2_]{<}EI{>};*;other code here[cr|lf][BX_]d dt
> ={<}PV01{>}[Q2_][cr|lf]
> -nd
> XPLeNCODE

Equivalence is expressed with a double equal sign in XPL: "==".

I don't quite understand the logic of the above. The way it reads, you only
want to switch into draft mode if your initial mode is expanded. In that case,
the entire routine should be conditional:

==0>BX d dt=1Q2 ...other code here...BX d dt=100Q2 

But if you want to switch into draft mode regardless of the initial mode, you'd
say:

>{less than}1>BX d dt=1Q2 ...other code
here...BX d dt=Q2

You're restoring the original display type whether you switched or not, which
is unnecessary.

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