Post Reply 
Can INPUT input what is typed
09-14-2015, 05:28 PM (This post was last modified: 09-14-2015 05:30 PM by StephenG1CMZ.)
Post: #1
Can INPUT input what is typed
I have been trying to use INPUT to input search strings for my Z EDITOR program.

But the Prime seems to parse some inputs without passing them straight to the user program.

For example, if you type in a single bracket, INPUT shows a pair. This happens whether you enter a bracket by using the () key, then cursor right and delete left. Or by using Shift/Chars and then selecting a single bracket.

Is there a way to avoid this, so that I could search for "WAIT(" for example, rather than "WAIT()" BUT NOT "WAIT(1"?.

Code:

EXPORT TRYIN()
BEGIN
 LOCAL IN,TTL,LBL,HLP,RST,IVL;

 PRINT();
 IN:="";
 TTL:="TRYING INPUT";
 LBL:="INP";
 HLP:="HLP";
 RST:="";
 IVL:="";
 INPUT(IN,TTL,LBL,HLP,RST,IVL);
 PRINT(IN);

 PRINT(SIZE(IN));
 PRINT(DIM(IN));
 PRINT(ASC(IN));
 //PRINT(STRING(IN));
 //PRINT(QUOTE(EXPR(IN)));

 WAIT;
END;

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Can INPUT input what is typed - StephenG1CMZ - 09-14-2015 05:28 PM
RE: Can INPUT input what is typed - eried - 09-14-2015, 05:46 PM
RE: Can INPUT input what is typed - eried - 09-14-2015, 06:45 PM



User(s) browsing this thread: 1 Guest(s)