[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Conditional printing
Hi all,
is it possible to control the printing conditionally?
I need to print a line in normal font if a variable is FALSE, and in BOLD
when the variable is TRUE. Can this be achieved in one print statement? I
wouldn't mind two, but I am printing about 26 columns on each line and don't
want 52 print commands.
I tried to put BOLD as a char value in a variable and used that in print
print &col2 (0, 26) $print_attrib
but it resulted in an error ....
Thanks for your help
Raj
____________________________________________________________
Rajendra Jamadagni (mailto:Rajendra.Jamadagni@espn.com)
MIS, ESPN Inc. (Work) 860 766 7321
QOTD: Any clod can have facts, but having an opinion is an art !
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.