3 C-String Library

The C-String library can be used when you need to exchange strings with program parts that is not written in BETA, eg. system-calls.

A C-string is a null-terminated array of chars.

The strings can be exchanged both ways, that is, you can create strings (texts) in BETA and give the to a C-function or you can create a string in C and use it later in BETA.

The C-String pattern has the following attributes:

The charPtr attribute can also be changed/updated by using the enter and exit parts of the cstring pattern.

In addition, the library contains declarations for standard C-routines to manipulate strings. Note that cstring.charptr can be used as argument to these C-routines.


System Utilities - Reference Manual
© 1994-2004 Mjølner Informatics
[Modified: Friday September 29th 2000 at 23:36]