Tuesday, March 12, 2019

BKWDWRIT

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

BKWDWRIT is an example program (Listing 9-1) on page 112 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.


While we include a reference to the STRPROCS INCLUDE FILE the source code file, it doesn't need to be included in the linker command.

The link command looks like:

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

When you run the program, it looks like:


No comments:

Post a Comment