Saturday, March 16, 2019

STRARRAY

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

STRARRAY is an example program (Listing 10-2) from page 148 of the book "Pascal Primer" by David Fox and Mitchell Waite.

This example shows how to use arrays of STRING variables. When the program runs, it accepts five strings from the user, then displays the entered strings in the reverse order that they were entered as well as the individual strings in reverse order.


The link command looks like:

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

When you run the program, it looks like:


No comments:

Post a Comment