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

RE: [sqr-users] Printing on seperate lines:



A write statement prints a new line when it is called, so you want ot do
this:

WRITE 2 FROM 'Value 1 : ' $Value1
WRITE 2 FROM 'Value 2 : ' $Value2

This will produce:

Value 1 : $Value1
Value 2 : $Value2

Where $Value1 and Value2 will be the stared values of the variables.

Hope this helps,

Stu

-----Original Message-----
From: Schuster, Steven [mailto:Sschuster@horizonnr.com]
Sent: Tuesday, August 26, 2003 11:10 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Printing on seperate lines:


How can I print these on separate lines in SQR
 
... code snippet ...
 
WRITE 2 FROM
 
'Value 1 : ' $Value1
'Value 2 : ' $Value2
 
I figure a decode may do the trick. Here is my file open routine:
 
OPEN $FILENAME AS 2 FOR-WRITING RECORD=500
 
Thanks in advance
 
Steve
 

_______________________________________________
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