Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
Hi again, I would like to know if there's a way to pass an input string to a .PROMPT directive. I tried as follow: !do script test .label start SCRIPT input .prompt 24,6,"Type an input string " .exit !script script input ciao{cr} ...without success!!! Suggestions or pointers are more appreciated! Bye Graziella
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1552.1 | Take a step back.. | SCOTTC::MARSHALL | Do you feel lucky? | Fri Oct 02 1992 16:49 | 6 |
Hi, What do want to achieve by doing this? If I know that, it makes it easier to suggest a good way to do it. Scott | |||||
1552.2 | more clearly ... | MLN08::COLOMBO | Fri Oct 02 1992 18:37 | 12 | |
I'm working with MANENTI, so ... we would run a SCRIPT script that calls a DO script where there's ".prompt xxx". How can we YES to the ".prompt xxx" from the SCRIPT script ? We hope it's clear. Thanks for help ! \rc | |||||
1552.3 | Can't do it with .PROMPT | SHALOT::WARFORD | Richard Warford @OPA DTN 393-7495 | Sat Oct 03 1992 23:42 | 9 |
You cannot. .PROMPT was a method to ask directly for input (from the user) during CBIs. Since CBIs are SCRIPT scripts, it had to ignore the SCRIPT stack. The PROMPT command (no '.') will put out a prompt, and will allow the SCRIPT stack to satisfy the answer. Rick |