[Date Prev][Date Next][Subject Prev][Subject Next][
RE: XPL & directories???
- Subject: RE: XPL & directories???
- From: "Marc O'Connor" MBO@xxxxxxxx
- Date: Sat, 20 Dec 1997 16:23:05 +1300
If you wish to get the name only of a file under the cursor, could you
not define from the start of the line and search for a space, line left,
F1, and there it is, ready to go into a save-get.
>From: Myron Gochnauer[SMTP:GOCH@xxxxxxxx]
>Reply To: xywrite@xxxxxxxx
>Sent: Sunday, 14 December 1997 03:15
>Subject: XPL & directories???
>I'm trying to write a small XPL program which will allow me
>to choose a file from an open directory and pass the filename
>only, without an extension, to a DOS program run from the
>I'm having difficulty figuring out how to extract only the filename
>from the line under the cursor. I thought DW might work, but it
>seems to define the entire line into the S/G. My attempts with
>XS have not been successful either, although I have used XS for
>other purposes. (Can you save a space --- ASCI 32 --- into a
>S/G with something like ≪SV401, ≫ ?? If so, will XS 'stop'
>at the first instance of a space?)
>Can anyone point me to a routine in some of the available XPL code
>which I can copy/mimic/modify?