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

Re: Question about "array" variables in XPL



Reply to note from wbass@xxxxxxxxxxxx Wed, 17 Jul 2024 21:06:06 +0000 (UTC)

Wally,

> although I constructed such code, I couldn't find a way to
> reliably execute the code I constructed. Got it into (say) S/G 03,
> <PV03> doesn't execute the code, it streams it into wherever the
> cursor is on screen.

The key is to append "NO " (or "<EX>NO ") to the concatenation. This is
because subroutines in XyWrite 3 that end with a right guillemet will malfunction; the final
characters must be a 3-byte function. If one doesn't occur naturally in the final position, use
"NO " (No Operation). Further, if the concatenation is manufacturing a <PRompt>, a
final "NO " will destroy the PRompt; so you need to EXit the subroutine before the func
NO; hence "<EX>NO ". In SAVENNN.PM, since one of the two concatenations constructs a
PRompt, it was economical to use "<EX>NO " in both.

-- 
Carl Distefano
cld@xxxxxxxxxx