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

Re: XPL best practices



Carl Distefano wrote:
Reply to note from "Patricia M. Godfrey"  Sat, 11
Nov 2006 15:40:36 -0500

Patricia:

Both versions run quickly here (after correcting several coding and/or
encoding errors, mostly extraneous or omitted spaces).

Yeah, that was Tbird up to its old tricks.
The heart of the matter is
to concatenate the runtime contents of the BATch file into a S/G (here,
S/G 01), then write it to disk with BX sa %01,d:\path\filename.batQ2 .

And that's right there in the CG as well as the revised
XPL book. Why did I never think of it? (Don't answer that.)
Note that SA %nn,d:\path\filename automatically overwrites any existing
file with that name, saving you the trouble of testing for existence and
ERNVing it in advance.

Fascinating. How did you find that? By trial and error?
Because I don't see that in the docs. Unless maybe
the Signature ones, which I don't have.
Also, there is no need to tinker with default
EP; I deleted that bit.

I could have sworn that was in imitation of one of your
or Robert's routines, but don't find it anywhere, so I
assume it was left over from an earlier version where I
was using a temporary file that had to be aborted, and
I didn't want the confirmation message popping up.


Many thanks, that does indeed go lickety split. And
knowing that one can concatenate that way, then save
the macro to a batch or text file, opens up enormous
possibilities. (It may also have finally gotten me
straight on IS vs PV, which I keep getting mixed up.)

Later:
Thanks for Version B, too. Will incorporate in a frame once the weekly madness with the paper is over here.
--
Patricia M. Godfrey
PriscaMG@xxxxxxxx