CENTERDM is an example program (Listing 9-2) on page 113 of the book "Pascal Primer" by David Fox and Mitchell Waite.
The example shows how to use a standard Pascal string processing procedure or function, specifically, the LENGTH() function, with returns an INTEGER that represents the length or number of characters in a string. It will center text on the screen. I modified this Atari Pascal version to use a screen size of 38 rather than 40 do to the default 2 space indentation.
The example shows how to use a standard Pascal string processing procedure or function, specifically, the LENGTH() function, with returns an INTEGER that represents the length or number of characters in a string. It will center text on the screen. I modified this Atari Pascal version to use a screen size of 38 rather than 40 do to the default 2 space indentation.
No comments:
Post a Comment