Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

StrPas

Convert a null-terminated string to a shortstring.

Declaration

Source position: systemh.inc line 1280

function StrPas(

  p: PAnsiChar

):shortstring;

Description

Converts a null terminated string in P to a Pascal string, and returns this string. The string is truncated at 255 characters.

Errors

None.


Documentation generated on: Jul 24 2023