[ Table of Contents ] [ List of Example Programs ]
To use any of the string processing procedures or functions, include a reference to the INCLUDE FILE in your program: (*$ID:STRPROCS*). The STRPROCS include resides on the Atari Pascal Language System Diskette Two.
predefined
PROCEDURE INSERT(SOURCE,DESTINATION:STRING;INDEX:INTEGER);
The INSERT procedure inserts a string into another string. See the INTCONST example program.
predefined
PROCEDURE DELETE(SOURCE:STRING;INDEX,SIZE:INTEGER);
The DELETE procedure removes a string from within another string. See the NOSPACE example program.
predefined
FUNCTION POS(PATTERN,SOURCE:STRING):INTEGER;
The POS() function returns the starting point of a string within a string. See the NOSPACE example program.
predefined
FUNCTION LENGTH(SOURCE:STRING):INTEGER;
The LENGTH() function returns the integer length of a string. See the BKWDWRIT example program.
No comments:
Post a Comment