Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extra line in heading - SQR

Status
Not open for further replies.

crystalized

Programmer
Jul 10, 2000
390
CA
Hi all,

I am getting an extra line in my heading

Here is the code
Code:
print '****** ***** ***** ***** ***** **** **** **** **** **** **** **** ********* ********* ***** ***' (+1,1,132)
print '****** ***** ***** ***** ***** **** **** **** **** **** **** **** ********* ******' (+1,1,85)
print '****** ***** ***** ***** ***** **** **** **** **** **** **** **** ********* ******** ****' (+1,1,80)

The extra line is appearing in the report following the first print statement.

Has anyone else come across stray extra lines

NOTE: I am new to peoplesoft and sqr's so please forgive me if this is a simple one.

Thanks in advance

Crystal
 
Remove the lengths (132, 85 & 80) this is only good if you
want to extend your printing a number of times.

example if you want to print a character up to the 80th column
you do something like this:

print 'X' (1,1,80)

It means print 'X' in line 1, column 1 up to the 80th column.
 
Hi,

Thanks for the info. I actually tried taking them out shortly after posting my request and it worked great.

I did not know that that was the way the final value worked, so I appreciate your help.



Crystal
--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top