Msg: 5297 *Conference*

08-12-94 14:27:04

From: RON WIESEN

To : COMET _

Subj: REPLY TO MSG #5294 (.CO)

If you author the BASIC program, then many methods are possible.  For example,
CALL63012'A will leave the character A "someplace" and the .CO can use it as an
argument.  Such a scheme is used in the ExtRAM package so you could discover
the "someplace" by disassembly, but I suspect it's the keyboard buffer.
 
If you don't author the BASIC program, now it's a matter of determining whether
a BASIC program is currently running.  If not, then there are two ways to get a
call from the MENU: by cursor position/ENTER and by typing name.CO on Select
line of main menu.  Of course the more often used case is by cursor
position/ENTER but the two cases are related from the Model-T op sys point of
view.  In both cases the final action is pressing ENTER.  If even one character
is typed on the Select line before ENTER is pressed, then the op sys ignores
cursor position and just deals with what is typed.
 
If you control, or insist that a user type name.CO on the Select line, then the
keyboard buffer and the remnents of lower-to-upper case conversion (Select line
only displays upper case) in combination (or lack of) indicates the method of
entry.
 
Sorry I can't offer specifics but I just wanted to give you some thoughts that
you may find helpful.