[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

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

1552.0. ".PROMPT usage" by MLNTSC::MANENTI () Fri Oct 02 1992 16:11

	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.RTitleUserPersonal
Name
DateLines
1552.1Take a step back..SCOTTC::MARSHALLDo you feel lucky?Fri Oct 02 1992 16:496
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.2more clearly ...MLN08::COLOMBOFri Oct 02 1992 18:3712
    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.3Can't do it with .PROMPTSHALOT::WARFORDRichard Warford @OPA DTN 393-7495Sat Oct 03 1992 23:429
    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