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

Re: Wildcards in Xy3+(Dos)



** Reply to note from xywrite@xxxxxxxx Sun, 11 Jun 2000 10:38:02 +0100

Leonard

> I want to write a program that changes the following
> CAPTION:What is says here changes every time
> HEADLINE:Xywrite is the best wp ever

> to change it to:
> HEADLINE:Xywrite is the best wp ever

> I thought about using the WW (wildcard) function as you would with a Word
> macro but the online help only says this is for use with the se command.

All you want to do is delete the line
"CAPTION:What is says here changes every time", including the carriage return at
End_Of_Line -- right? Here's the program:

BC cia /CAPTION:What is says here changes every time{10}//XC 

In place of the character {10}, you want a three-byte Ascii-10, which stands
in a Xy3 program for the carriage return. To write that key in your program
using standard factory-issue Xy3 KBD files, you hold down the Alt and Ctrl keys,
hit 1 then 0 on the grey keypad, and then release Alt+Ctrl. SAve it, RUN
it, Done.




-----------
Robert Holmgren
holmgren@xxxxxxxx
-----------