for some reason, result does not change to output! Output is set to the correct values. Result does not equal output. Result is another variable used elsewhere, as thought the array pointer is off on the wrong address ?We need more code. It is error-free and works properly.
for some reason, result does not change to output! Output is set to the correct values. Result does not equal output.
Using -0-, this code compiles and works and the values show as expected. Thank you!
On the top of project options window is a "build mode" setting. Click/Enter it => there is a button to create release and debug mode.
Yes, but why are these not defaults in Lazarus ? With Debug being the active default? I would think most users are using Lazarus to create something, and they will likely need to debug it.
It is. It is part of ISO 7185 which makes it as old as... Pascal.
stdin, stdout and stderr are not standard, but input, output and erroutput are standard. The former are merely aliases to the real pascal types.
No, they are predefined text files. They are an integral part of the language.
So, yes, variables, but very special variables:
program test (input,output);
Each program-parameter shall have a defining-point as a variable-identifier for the region that is the program-block.