Thread View: comp.lang.modula2
2 messages
2 total messages
Started by CYBERPUNK
Wed, 17 Jan 1996 00:55
HELP WITH WRITEREAL
Author: CYBERPUNK
Date: Wed, 17 Jan 1996 00:55
Date: Wed, 17 Jan 1996 00:55
4 lines
598 bytes
598 bytes
Hello, I have this problem with WriteReal. I am using gpm for Linux and everytime I write 10.00 to the screen, it prints 1071, and sometime it prints 1072, etc. Could someone tell me how to fix that? Thank you very much.
Re: HELP WITH WRITEREAL
Author: Chris Austin
Date: Thu, 18 Jan 1996 10:00
Date: Thu, 18 Jan 1996 10:00
11 lines
1009 bytes
1009 bytes
This is only an idea, but I was doing a similar thing with a C++ compiler under UNIX. Are you outputting anything after the writereal statement? If not, stick in a WriteLn. What I think might be happening is that it is outputting 10, and then the current instruction number in the shell that you are using. i.e 10 followed by 71, or 72 as in your example outputs, giving the appearance of 1071 and 1072. I maybe completely wrong, but I thought that I would say this in case that is what is happening. Chris
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads