HP Forums

Full Version: Line Print
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am writing a program and when I needed a blank line I used print(); kinda like in old basic. This clears the entire screen. How do I print 1 blank line?

PRINT(" ");
Seems to work.

Print(); with no arguments clears the terminal. Print with anything in it will print a single line and the next Print statement will will do a CR (carriage return and line feed) and print on a new line.

Edited: 10 Nov 2013, 9:00 p.m.

That doesn't leave a blank line between though

When I saw this I knew it was right, but it doesn,t work for me.

Yes it does:

Print('1');
Print(" ");
Print('2'):

prints:

1

2

Edited: 11 Nov 2013, 12:42 a.m.

Tried the (" ") a while ago and it did not work for me so I resorted to placing lines between groups of print data with:

PRINT("----------");