Post Reply 
Improvement for the INPUT command
02-24-2017, 06:31 PM (This post was last modified: 02-27-2017 12:34 AM by compsystems.)
Post: #1
Improvement for the INPUT command
Hello, if the INPUT command only contains a variable, when entering the data must be kept on the screen, a second [enter] executes and exits the dialog box, otherwise I can not edit it, If I enter it wrongly

Test example

PHP Code:
export x:=0;
export y:=0;
export z:=0;
export input1var()
BEGIN
  
//x:=5;
  
print();
  print(
"input cmd with a variable"); wait;
  
input);
  print(
"foo1"); wait;
  
foo1();
  
input);
  print(
"foo2"); wait;
  
foo2();
  
input);
  print(
"foo3"); wait;
  
foo3();
  return 
"Done";
END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Improvement for the INPUT command - compsystems - 02-24-2017 06:31 PM



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