3 ms·
Unfortunately he is thoroughly confused about OutImage. > "OutImage is called to build the final Simula “Image”. From my digging it appears that OutImage is us
by rurban 3y ago
Unfortunately he is thoroughly confused about OutImage.
> "OutImage is called to build the final Simula “Image”. From my digging it appears that OutImage is usually necessary at the end of a block, or a compiler error will be generated. I initially forgot OutImage though so, I imagine that maybe Portable Simula is just implicitly adding this if it’s missing, or it was changed in a later standard. Regardless I’ll leave it in from now."
In reality the "image" is just the current outline buffer, and OutImage prints the line feed. Very similar to Pascal later.
From the textbook:
> "OutImage causes the line which is currently being created - the current image - to be written to the printer or terminal and a new line to be started."