Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fox7 read/write memory £¡
Message
From
12/04/2002 06:20:52
Max Chen
Yx Software
Shunde, China
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Fox7 read/write memory £¡
Miscellaneous
Thread ID:
00644137
Message ID:
00644137
Views:
45
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
Map
View

Click here to load this message in the networking platform