Re: Something weird

new topic     » goto parent     » topic index » view thread      » older message » newer message

Keven Sieger writes:
> Anyway, for some reason when the cursor got to the
> bottom of the screen, replies from the program tacked
> an extra line feed on. When I took the "\n" out of the beginning
> of my output, the program still tacked a LF on, but not
> a carriage return.

From LIBRARY.DOC, gets() routine:
   After reading a line of text from the keyboard, you should
   normally output a \n character, e.g. puts(1, '\n'), before
   printing something. Only on the last line of the screen does the
   operating system automatically scroll the screen and advance to
   the next line.

It's a quirky thing about DOS. Euphoria is not
doing anything different at the bottom of the screen.
Several people have asked about this over the years.
Use get_position() and position() if you need better control.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu