Share via


SYS(2600) - Return Pointer as String

Interprets an integer as pointer into memory and returns the contents of that memory as a string, or writes new data to that memory location.

SYS(2600, dwAddress, nLength [, cNewString])

Parameters

  • dwAddress
    Specifies the pointer to a memory address. This value is interpreted as an integer.
  • nLength
    Specifies the number of bytes to read from dwAddress.
  • cNewString
    Specifies a value to be returned to dwAddress.

Remarks

This function is for advanced programmers only.

Examples

The following code returns the string cRes, which contains the nLen bytes starting at nAddress:

   cRes = SYS(2600, nAddress, nLen)

The following code returns the string cRes and also places nLen bytes of cSrc at nAddress:

   cRes = SYS(2600, nAddress, nLen, cSrc)

See Also

SYS( ) Functions Overview