After many hours of frustration, I found what was messing up one of my XPL
programs:
se/t /string/
doesn't always actually search from the top of the file!
Here's what didn't work at one point in a long program:
BX se/t /alias ^«PV21»^ /Q2 ;*; search for a string surrounded by carets
«IF«ER»»BX se/t /alias «PV21» /Q2 «EI»;*; if not found, search for it w/o
carets
«IF«ER»»«SX05,«IS05»+«IS21»+«IS586»»«GLB»«EI»;*;
try to deal w. errors
simply adding a TF and dropping the /t made it happy:
TF BX se /alias ^«PV21»^ /Q2 :*;
«IF«ER»»BX se /alias «PV21» /Q2«EI»;*;
«IF«ER»»«SX05,«IS05»+«IS21»+«IS586»»«GLB»«EI»
I might add that error arises in a 4K XPL program that operates on a 71K
text file. But none of the variables would be storing more than 800 bytes,
and there are only 20 variables in all, most storing only a few bytes.
Still, it could be memory problems.
Anyone experienced the /t problem before?
Harry Binswanger
hb@xxxxxxxx