Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox7 read/write memory £¡
Message
De
12/04/2002 06:20:52
Max Chen
Yx Software
Shunde, Chine
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Fox7 read/write memory £¡
Divers
Thread ID:
00644137
Message ID:
00644137
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform