[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
XPL2TXT.RUN, XXEN
XY-> Dorothy Day:
XY-> This is the first of 2 programs; as Chet mentioned, they're somewhat
-> NB-specific, but work very well and could be modified. Hope this time
-> they get through.
Dorothy,
Since I not only have Carl's program but Dorothy's as well, here
are both of them as converted:
-----------------------------------------------------------
;TXTTOXPL.RUN{LD-}
{GLSTART}
This is a program that will convert a printable version of an
XPL file into a regular XPL file.
[Chet: Note that the ENTER after "file" is the last ENTER in this XPL]
{LBSTART}BC es 1XC GT {PRWorking . . .}DX XP {LBseek}
BC sea \BO\XC {IF{ER}}{GLchange}{EI}YD DF CR CR DF {SV01}RD
BC pfunc {PV01}XC {GLseek}{LBchange}TF BC ci \{MDBO}\\XC
BC ci \{MDNM} \\XC BC ci \NI R1 R7 R4 \{\XC
BC ci \NI R1 R7 R5 \}\XC TF WG BC es 0XC BC GT DO {PRDone}{EX}
-------------------------------------------------------------
;XPLTOTXT.RUN{LD-}
;The command to run the program will be:
;run xpltotxt.run,
{GLStart}
Converts an XPL file to normal NB format file.
[Chet: Note that the ENTER after "file" is the last ENTER in this XPL]
{LBStart}{SX01,{IS00}}SG vxXP BC ci \{\[174]\XC
BC ci \}\[175]\XC [174]OF0,0[175]{PL66}{TP0}{BT0}
BC rvXC DF BC se \WA \XC CL CL DF RD BF DF BC seb \WA \XC
CR CR DF RD TF XP BC cia \MDHN\MDBO\XC BC ci \-a \ \XC
BC GT WG SG voBC sa {PV01}XC {PRDone}{EX}
--------------------------------------------------------------
The only possible problem with Carl's XPL is that it works on
*all* uppercase letters, so there's the chance that text
descriptions in caps could become a function call. Aside from
that, his XPL seems very steady (even if his label statements are
alphabetic).
Carl, are you going to provide a Xy 3+ version too?
--Chet
---
? SLMR 2.1a ? Art + write + dtp = chet.gottfried@xxxxxxxx