[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Wildcard replace and no 64k limit
- Subject: Re: Wildcard replace and no 64k limit
- From: Harry Binswanger
- Date: 14 May 1996 12:00:00
At 12:42 PM 5/14/96 +0900, you wrote:
>
>I don't understand a word of this, but that only demonstrates
>my ignorance. I'll try this immediately and see what happens.
>Thanks a lot!
>
> ....umm.... 5 seconds later... I couldn't resist trying
>immediately, and must report that your mini program results
>in a message: "need id & expression", and nothing else.
>What am I doing wrong?
There's a bit more to it that Leslie left out:
1. open a new file named "mini.pgm"
2. follow the steps Leslie outlined--let me re-create them in their full detail:
a. go to the command line
b. type: SV 101 (you don't need caps, I'm just using them to indicate what you
type in)
c. hit enter (you should see a triangle appear in the text)
d. go to the command line
e. type: PFUNC GH
f. hit enter (you should see a boldface GH appear in the text)
g. go to the command line
h. type: PV 101
i. hit enter (another triangle should appear)
j. go to the command line
k. type: PFUNC GT
l. hit enter (a boldface GT should appear)
m. go to the command line
n. type: EX
o. hit enter (another triangle appears)
3. save the file
4. store the program onto a key by doing the following:
a. go to the command line
b. type: LDPM MINI.PGM,Z (you can use any other available letter, not just Z)
c. you should see a "Done" on the prompt line
5. (optional): add the following line to your startup.int:
BC ldpm mini.pgm,z
The "BC" there is the boldface one you get by typing on the command line:
PFUNC BC
There, I think that's every keystroke you need. You understand that when I say "go
to the command line" you must do it with the key (usually F5 or F6) that not only puts you
on the command line, but blanks it too.
For "debugging" purposes, if you view your mini.pgm file in expanded mode, it must
look exactly like this:
≪SV101≫GH ≪PV101≫GT ≪EX≫
(it will probably have a left-pointing arrow after the ≪EX≫)
And there! You've written your first (I take it) XPL program! Now, anytime you
define text and hit alt-Z (or alt-whatever) the defined text will pop up on to the command
line.
Regards,
Harry Binswanger