[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Need XPL help
- Subject: Need XPL help
- From: Russell Lewis RUSSELLLEWIS@xxxxxxxx
- Date: Mon, 15 Feb 1999 08:08:12 -0500 (EST)
Well, I finally got around to purchasing XY4 from the TTG along with the
XPL programming book. The XPL book is helpful but I have a couple of
questions for the group.
1. I wish to write a program to put ">" marks at the beginning of each
line to quote a message. I have no problem writing an XPL program to
place a quote every time I press a certain key. What I would like to
do is to have the program place quotes until it gets to the end of the
file and then quit. The "ER" function is not supposed to work for
this since it only returns values for commands, not functions. Can
anyone help me with this?
2. Along the same lines, I wish to be able to mark a block text and put
quote marks at the beginning of each line, stopping when the end of
the block is reached. I suppose I could open a temp file, quote the
text and replace the orginal. But I was wondering if there was
another way I could do this.
Thanks.
Russell