Dec 232017
Provides C CTYPE.H functions to TP 4.0+ with full Pascal source code. Determines if a character fits a certain type of group. (whitespace, uppercase, lowercase, etc). Very useful, and handy to have. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
CTYPE.PAS | 6399 | 1565 | deflated |
CTYPE.TPU | 1696 | 548 | deflated |
CTYPE.TXT | 1588 | 644 | deflated |
CTYPEASM.ZIP | 6420 | 3361 | deflated |
CTYPEM.PAS | 16556 | 2364 | deflated |
CTYPEM.TPU | 1872 | 601 | deflated |
Download File CTYPEPAS.ZIP Here
Contents of the CTYPE.TXT file
Turbo Pascal 4.0 Character Classification and Conversion Routines
-----------------------------------------------------------------
People who have used C quickly become addicted to its large
library. One of the things I missed most where the ctype.h
macros, so I wrote them for Turbo Pascal. These units provide
two implementations of the macros available in ctype.h.
The following files should be in this archive:
CTYPE.PAS The ctype.h functions in Pascal.
CTYPE.TPU Compiled CTYPE.PAS.
CTYPE.TXT The file you are reading.
CTYPEASM.ARC The assembler sources for CTYPEM.PAS.
CTYPEM.PAS The ctype.h functions using InLine macros.
CTYPEM.TPU Compiled CTYPEM.PAS.
The CTYPE.PAS routines are written in Pascal and, only a few are
used, consume very little code space--but they are sloowww. The
CTYPEM.PAS routine are table driven, written in assembler, and at
least 5 times faster than the CTYPE.PAS routine. However, they
require 128 bytes of data space for the table.
The documentation for the routines can be found in the .PAS
files. These routines are released to the Public Domain. If you
have any comments or questions, please send them to me via
Fido Net mail node 13/26.
Scott G. Ainsworth
11 March 1988
December 23, 2017
Add comments