[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Saving Prompt message
- Subject: Re: Saving Prompt message
- From: cld@xxxxxxxx
- Date: Fri, 24 Apr 2009 16:54:37 +0000
> Ah, I see. My issue was that when my programs exit, they call CLEARSGTS
> (for the S/Gs above 100 that I often use), and that wipes out any prompt I
> have had the program write.
That's not the question you asked! If it's *your* PRompt, you have complete control over it. Whether the PRompt displays or is wiped out is solely a question of placement within the program. The statement should be the last thing before , and in any event should not be followed by a function (which wipes out the PRompt). CLEARSGT is not a problem. Just save the PRompt text to a transient S/G not in range 50-59 (which CLEARSGT uses), then issue the PRompt after CLEARSGT is done.
~'% <== Your PRompt text
~'JM2.clearsgt'Q2
~'% <== Your PRompt displayed
~'^
Or simply:
~'JM2.clearsgt'Q2~~'^
--
Carl Distefano
cld@xxxxxxxx