Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>get a null terminated string from memory.</b> http://www.X-Hacker.org [<<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.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson