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

Self-referential problem



Here's a problem that I have a kludgey solution for, but maybe there's a
better way.
I want to run an XPL program to alter other XPL code. Specifically, I want
to change this string:

≪PV548≫

to a single quote. Now I can't do that with the following:

BX ci /≪PV548≫/"/Q2
because the ≪PV548≫ gets interpreted, rather than being treated as a string of characters.

The kludge is to make it two steps:

BX ci /PV548//Q2
BX ci /≪≫/"/Q2

It works, but there has to be a more intelligent way.

Harry Binswanger
hb@xxxxxxxx