write() vs. writeln()

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

what is the difference between write() and writeln()?

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi Max,

the 'ln' stands for line.
writelin() is supposed to write a linefeed ("/n") at the end of the contents being written. However, I seem to remember having problems with it early on -- like no visible difference -- so I just stopped using it.

Vinny

Where the world once stood
the blades of grass cut me still

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I use write() myself, but I've tried writeln() and saw no difference either. That's why I asked.

Thanks for your help.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.