Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing array
Message
From
04/11/2005 04:04:50
 
 
To
04/11/2005 03:50:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065352
Message ID:
01065355
Views:
18
Hi,
DIMENSION myArray[2]
myArray[1] = "Element 1"
myArray[2] = "Element 2"

LIST MEMO LIKE myArray

CREATE CURSOR mycursor (cmemo M)

APPEND BLANK
*-- Save array to memo
SAVE TO MEMO mycursor.cMemo ALL LIKE myArray

RELEASE myArray

LIST MEMO LIKE myArray        && myArray not shown since it is released

*-- Restore array from memo field
RESTORE FROM MEMO myCursor.cMemo

LIST MEMO LIKE myArray
HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Reply
Map
View

Click here to load this message in the networking platform