[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following listing contains the interface of the Strings unit.
This is a compatibility unit to BP's `Strings' unit to handle C style `#0'-terminated strings.
The same functionality and much more is available in the Run Time System, section 8.13 Pascal declarations for GPC's Run Time System, under clearer names (starting with a `CString' prefix),
Moreover, the use of `#0'-terminated C-style strings (`PChar' or `CString') is generally not recommended in GPC, since GPC provides ways to deal with Pascal-style strings of arbitrary and dynamic size in a comfortable way, as well as automatic conversion to C-style strings in order to call external C functions.
Therefore, using this unit is not recommended in newly written programs.
{ BP compatible Strings unit |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |