Wednesday, March 13, 2019

SPACEOUT

Table of Contents ] [ List of Example Programs ] [ SPACEOUT Disk Image ]

SPACEOUT is an example program (Listing 9-6) on page 117 of the book "Pascal Primer" by David Fox and Mitchell Waite.

This example program shows how to use intrinsic Pascal STRING functions and procedures. The LENGTH() function returns the number of characters in a string. The INSERT() procedure will insert a string into another string.


The link command looks like:

LINKER V1.0
*D2:SPACEOUT,PASLIB/S

When you run the program, it looks like:



No comments:

Post a Comment