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

Re: Strange SA/NV behavior--BK is culprit



Paul wrote,
I'm saving the unedited version of the open file as the backup copy.
Hmmm, yes. I think that's what BK=1 does, and what I want to do. I worked a 
simple way to do this:
<SX01,<VA$FI>>BX copy/nv <PV01> C:\BAK\<PV01>Q2 
IF@NOT(<ER>)><PRSaved><EX><PRError><Ex>
If I try to use this with the text in [Untitled], I get the Error prompt, 
which is fine.
This is now part of my slightly larger frame, HBSA, that does the proper 
Save (LoadHigh) of U2 if that's where you are:

XPLeNCODE v2.0
b-gin [UNTITLED]
{002}{<}IF@Upr({<}VA$FI{>})=="XYWWWEB.U2"{>}[JM_]2.LH[Q2_]{<}
EX{>}{<}EI{>}{<}SX01,{<}VA$FI{>}{>}[GT_][255+048+068][BD_][BX
_]copy/nv {<}PV01{>} C:\BAK\{<}PV01{>}[Q2_]{<}IF@NOT({<}ER{>}
){>}{<}PRSaved{>}{<}EX{>}{<}EI{>}{<}PRError{>}{002}[cr|lf]
-nd
XPLeNCODE

Naturally, I do the kbd assignment, in TABLE=CTRL:

31=nojm(,2,.,h,b,s,a,)

Probably Carl can find some "gotcha" with doing the COPY/NV.


Harry Binswanger
hb@xxxxxxxxxxxx