Post Reply 
[help] input cmd
10-14-2016, 01:43 AM (This post was last modified: 10-14-2016 02:11 AM by compsystems.)
Post: #1
[help] input cmd
Hello, the following code inquire two independent values each individually with INPUT CMD, the problem is that every time a value [ok] is entered the dialog box closes. the idea is to use the terminal view to show to request and input cmd to enter it

What I can do, to hold the dialog box?


Thank you

PHP Code:
export testInput()
begin
 local x1 
:= 0x2;
 print;
 print(
"Enter x1"); wait;
 if 
NOTinputx1 )) then killend;
 print(
x1); 

 print(
"Enter x2"); wait;
 if 
NOTinputx2 )) then killend;
 print(
x2);
 return 
"done";
end

in RPL the dialog box is retained.
PHP Code:
«
'initialValue' STO
'resetValue' STO
"Input"
{{ "x1:" "Enter Value for X1"  }}
1
resetValue 1 
->LIST
initialValue 1 
->LIST
INFORM
IF NOT THEN KILL END

"Input"
{{ "x2:" "Enter Value for X2"  }}
1
resetValue 1 LIST
initialValue 1 LIST
INFORM
IF NOT THEN KILL END
» 
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[help] input cmd - compsystems - 10-14-2016 01:43 AM
RE: [help] input cmd - compsystems - 10-14-2016, 02:20 PM
RE: [help] input cmd - compsystems - 10-14-2016, 02:57 PM



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