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

Conference noted::pwdoswinv5

Title:PATHWORKS V5 for DOS and Windows
Notice:OS2LAN::OS2:[PUBLIC] is alive again, but not what it used to be
Moderator:RANGER::CURLESS
Created:Fri Feb 11 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:7404
Total number of notes:27276

7362.0. "VT320 Scripting Question - READ, SET, DISPLAY" by VMSNET::S_VORE (Smile - Mickey's Watching!) Thu Mar 13 1997 07:43

    Thought this would be a relatively easy question, but either I'm blind
    or the VT320 scripting documentation's confusing (you be the judge)...
    
    I've got a cusotmer who wants to take input from a user, append some
    text to that input, then send that along to the (VMS) host.  Something
    like this
    
    	READ: some_input
    	SET: a_variable some_input+" and then some text"
    	DISPLAY: a_variable<CR><LF>
    
    Possible at all?  Any on-line samples I could look at?
    
T.RTitleUserPersonal
Name
DateLines
7362.1No free-form input!JAMIN::WASSERJohn A. WasserThu Mar 13 1997 09:2616
> customer wants to take input from a user, append some text to that input, 
> then send that along to the (VMS) host.

	Unless there have been some extensions since V5.0, the
	only things you can do with a variable are set its value
	and use it in a "case" statement.  This SEVERELY restricts
	the type of user input.  The user can pick from a limited
	set of options and THAT IS ALL.

	The scripting language for VT320 (and SETHOST) was a hold-over 
	from the failed "Rainbow Office Workstation" project that tried 
	to put a fancy front-end on All-In-One.  It was deliberately
	crippled because the project manager did not want it to look
	like a "programming language" so as not to scare off the
	non-technical user.

7362.2VMSNET::S_VORESmile - Mickey&#039;s Watching!Thu Mar 13 1997 09:495
    Thanks, John - that's what I was beginning to think based on my
    reading.  I'll head off to take a look at PowerTerm's scripting; it
    looks at least a little more robust.
    
    -Steven