Re: "best practice" to clear out "control line"


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jeff Cinelli on November 07, 2010 at 18:42:04:

In Reply to: "best practice" to clear out "control line" posted by Bob A on November 05, 2010 at 08:39:50:

The (WC) mnemonic will work just fine.

If you want to write to the write control line to another terminal on the same machine (such as comet anywhere clients, or other terminals running comet on the same machine), you can do that this way:

(DECLARATIVES)
LENGTH 2 & LOCAL AX$
LENGTH 80 & LOCAL PMSG$
SENDMSG: FORMAT '@0E07@';PMSG$

(EXECUTABLES)
PMSG$='Hello World'
AX$='@FFFF@'
DOSRW(AX$,SENDTO$,80,SENDMSG),EXCP=(EXCEPTIONHANDLING)

I haven't tested this in Comet32, but we use this command daily. We have a program that runs in a background partition, and notifies all terminals in that comet session of things that the user needs to know (new email messages, etc). Its pretty useful.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]