[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: STOP SCRIPT FOR INPUT



Anthony, it all depends on what you ant your program to accomplish. But, if I
am asssuming properly, you probably want the user to type in a filename or some
string. In this instance you could set a flag, which could be any legitimate
character (i.e. "+") into a programming save/get. For example, ≪sv01,+≫. Then
you would use the ≪rc≫ save/get to accept input. The ≪rc≫ save/get
accumulates all the characters entered. Your prompt at the command line might
read "Enter filename, press "+" to execute file creation". You would also want
a conditional ≪if≫ statement which would perform a routine if the "+" key was
pressed. For example, if the ≪rc≫ save/get is number 03 and the flag is 01,
the following could be used:  ≪if≪is01≫==≪is03≫≫≪glStart≫≪ei≫

≪glStart≫ would send the program to Label "Start" if the "+" key was pressed,
at which point you could have it create, call file, etc. The label "Start" is
only an example, you can use your own label names.

Let me know how it turns out.

--SYSOP