Has anyone experienced this problem:
I have a file onscreen, CONTENTS.HTM which I save by having the program do:
SA/NV
After massaging the text on the screen, I want to save the results under a
different name, so I have:
SA/NV ARCHIVE.NEW
I use SA/NV rather than just SA in each case because there are older,
pre-existing versions of each file that I want to replace with what's onscreen.
But it won't do the second save. It says "Invalid file name."
If I have the program leave SA/NV ARCHIVE.NEW on the command line, then
stop, it does the right save if I then hit Enter.
If I take out the first SA/NV, the second works fine. Thinking it might be
a timing problem, I used WAITs and P[ause], but they didn't help.
I tried deleting the old ARCHIVE.NEW then doing just a SA (without the /NV)
and it still won't save it.
As a work-around, I have changed the first SA/NV to:
ST
CA CONTENTS.HTM
By doing that, I can successfully issue SA/NV ARCHIVE.NEW when it arises,
later.
I tried the following simple version, as a test, and it ran fine, so it has
something to do with the actual code that is in between the two SA/NVs.
XPLeNCODE v2.0
b-gin [UNTITLED]
[BX_]gofile t.bas[Q2_];*;[cr|lf];*;[cr|lf]{<}IF{<}ER{>}{>}[BX
_]ca t.bas[Q2_];*;[cr|lf]{<}EI{>};*;[cr|lf]{<}SV02,Yes{>}{<}S
V03,No{>}[BX_]sa/nv 1[Q2_];*;[cr|lf][BX_]sa/nv 2[Q2_];*;
-nd
XPLeNCODE
As I say, the above works.
But here's a section of the actual code which, even when excised, gives the
problem:
XPLeNCODE v2.0
b-gin [UNTITLED]
{<}SV555,0{>}{<}SV50,{>}{<}SV588,[cr|lf]{>}{<}SV01,{>}
{<}SV02,test{>}[BX_]gofile contents.htm[Q2_];*;[cr|lf];*;[cr|
lf]{<}IF@NOT({<}ER{>}){>}[BX_]ab[Q2_];*;[cr|lf]{<}EI{>};*;[cr
|lf][BX_]copy/nv contents contents.htm[Q2_];*;[cr|lf][BX_]ca{032}
contents.htm[Q2_];*;[cr|lf][TF_][cr|lf][TF_][BX_]ci {179}&{17
9}&{179}[Q2_];*;[cr|lf][BX_]ci {179}"{179}"{179}[Q2_
];*;[cr|lf][TF_][BX_]ci {179}[wC][wN]. {179}[wC]