[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Get a NULL terminated string from memory.
------------------------------------------------------------------------------
Syntax
GT_PeekStZ(<nSegment>,<nOffset>) --> cString
Arguments:
<nSegment> is the segment of the string in memory.
<nOffset> is the offset of the string in memory.
Returns:
The NULL terminated string found at <nSegment>:<nOffset>.
Description:
GT_PeekStZ() can be used for getting NULL terminated strings from
specific areas of memory.
Examples:
// Print the first entry in the program's environment table.
? GT_PeekStZ(GT_PeekW(GT_PSPSeg(),44),0)
Source: PEEKSTRZ.C
Author: David Pearson
See Also: GT_PEEKSTN()
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson