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

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



In addition what Carl said, about the need to copy VA$FP to BAK\VA$FI,
you're not saving your edits. You also need to SA/NV VA$FP after the copy.

Paul Lagasse

Harry Binswanger wrote:
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:
>BX copy/nv  C:\BAK\Q2
IF@NOT()>
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@xxxxxxxx