General information
Title:
Fox7 read/write memory £¡
fox7 read/write memory £¡
Find some new feature not mentioned in What's new.
example:
?SYS(2600, 1343234, 6,''asdfsd'')
?SYS(2600, 1343234, 10)
SYS(2600) - Return Pointer as String
See Also
SYS( ) Functions Overview
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only