View previous topic :: View next topic |
Author |
Message |
SaintMichael57
Joined: 28 Nov 2016 Posts: 14
|
Posted: Fri Sep 27, 2019 10:51 pm Post subject: Disappearing Output |
|
|
Dear Silverfrost forum members:
Despite my including all of the necessary code in my programs, including the output statements, once I run my programs, there is no output! What am I doing wrong? I am running Microsoft Windows 10 64-bit as an operating system. Thank you. |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Sat Sep 28, 2019 1:48 am Post subject: |
|
|
Please show a few of the file access and I/O statements. State how you build and run the program. Then, after seeing the details, we may be able to tell you what else to try. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Sat Sep 28, 2019 7:25 am Post subject: |
|
|
In particular are you creating a "console" application and are you running the program from a "Command prompt" window or from a IDE such as Visual Studio or Plato?
A console application run from Windows Explorer or Visual Studio may not pause to allow you to see the results. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Sun Sep 29, 2019 11:40 pm Post subject: |
|
|
Alternatively, put a PAUSE statement in your program just before the STOP statement and see if you can see the output. Direct all program control to the PAUSE statement (stated another way, only allow one way out of the program). |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Oct 02, 2019 4:07 pm Post subject: |
|
|
SaintMichael57 (*),
following on from Paul's comment, just try just adding WINAPP (if it's not already there) as the first line of a program and see if it outputs as you want ...
https://silverfrost.com/ftn95-help/clearwinp/clearwin/simpleprograms.aspx
__________________________-
(*) patron saint of Heinz baked beans maybe ? _________________ ''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... " |
|
Back to top |
|
|
|