[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: TODAY
- Subject: Re: TODAY
- From: "Patricia M. Godfrey" priscamg@xxxxxxxx
- Date: Thu, 14 Sep 2006 13:51:21 -0400
Robert Holmgren wrote:
You can do that more economically (just one Save/Get + faster/smaller code)
like this:
XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5,xylist}} PMG 4/24/06[cr|lf]{002}[BX_]es 1[Q2_][BX_]cd e:
\xyinfo[Q2_]{<}SX01,{<}VA$DAyyyy{>}{>}[BX_]exist {<}PV01{>}[Q
2_]{<}IF{<}ER{>}{>}[BX_]mkdir e:{<}PV01{>}[Q2_]{<}EI{>}[BX_]c
d e:{<}PV01{>}[Q2_]{<}SX01,{<}VA$DAyy{>}+{<}VA$DAMMM{>}{>}[BX
_]ca e:{<}PV01{>}.txt[Q2_]{<}IF{<}ER{>}{>}[BX_]ne e:{<}PV01{>
}.txt [Q2_]{<}EI{>}[BX_]wait[Q2_][BF_]{002}[cr|lf][cr|lf]
-nd
XPLeNCODE
Oh, wow! That is indeed more efficient and more
elegant. (And I had been patting myself on the back for
using <
I see you added a WAIT command. Interesting. Even on my
slowest machine (a K6/2, running at 333 MHz) I hadn't
run into any problems without it. But I rarely have
anything else open when running Xy--especially on that
system. (Well, the two laptops are even slower, but I
don't think I ever ran this on them.)
Apropos of Wait, does anyone know what those "temporary
files" created by the conversion filters are called?
Any consistent extension? I have a routine that
converts Xy data files to WP, using the Hungarian
filters, but it's something of a kludge, using a batch
file that has to be run outside of Xy because it
includes that "WAIT a few seconds for conversion to
delete temp files
pause"
command. If one could give a filemask for those temp
files, I think one could include the call to the batch
file with DOS/NV, and use AwaitDel, no?
Anyway, I have revised another program that used much
the same technique, so as to take advantage of your
much more efficient method (and added "Rev. by RH,
9/14/06" to the documentation label). Many, many thanks.
--
Patricia M. Godfrey
PriscaMG@xxxxxxxx