[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Using a variable in an Input statement for the prompt



I like using the display command. Is this command available in your version of 
SQR?

display $variable

If you want to add text to the output:
Let $line = 'text to display: ' || $variable

Christine Ray
Indiana University Bloomington

-----Original Message-----
From: sqr-users-bounces+chmray=indiana.edu@sqrug.org 
[mailto:sqr-users-bounces+chmray=indiana.edu@sqrug.org] On Behalf Of 
SandlerA@DFO-MPO.GC.CA
Sent: Wednesday, October 25, 2006 3:02 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Using a variable in an Input statement for the prompt

Does anyone know if is possible for the prompt of an input statement to be a
variable.  I am validating user input and would like to echo back to the
user in the prompt part of what was input.
 
I am using SQR version 6.1.3 with Maximo.  I cannot use SHOW because all
show commands are written to the log (and not to the screen).  Also, I must
work with this version of SQR; upgrading is not possible.
 
Thank you, 
Aaron Sandler

MIMS Technical Team |Équipe technique SGIE

Canadian Coast Guard|Garde côtière canadienne

Government of Canada| Gouvernement du Canada

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users