On Apr 26, 2010, at 12:30 PM, René Micout wrote:
I encoded an array to put data into a text file :
A1 open file vxNomAgencement for write
A2 put arrayEncode(vxMémoireAgencement) into vxAgencementCodé
A3 write vxAgencementCodé to file vxNomAgencement
A4 close file vxNomAgencement
When I decode the text file :
B1 open file vxNomAgencement for read
B2 read from file vxNomAgencement until end
B3 put arrayDecode(it) into vxDataAgencement
B4 close file vxNomAgencement
At line B3, I have a message error, why !?
You need to read/write as binary.
How do I store an array in a text file and then retrieve it again?: <http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/9597-How-do-I-store-an-array-in-a-text-file-and-then-retrieve-it-again-
>
--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution