> Hi!
> I spotted these lines from svn log:
>
> [INTERPRETER]
> * NEW: The READ instruction can read arrays and collections with
> 'AS Object' as well as 'AS Variant'.
>
> [INTERPRETER]
> * NEW: WRITE and READ instructions can handle collections and arrays. Call
> that "serialization".
>
>
> Can you give me example how this works?
> Example, I have two dimensional arrays, how do I read them from file with
> this new way?
>
> Jussi
Bad luck, it works for single dimension arrays only.
It works like that:
Dim MyArray As String[]
' Write the array to a stream
Write #Stream, MyArray As Object
' Read it back later
MyArray = Read #Stream As Object
Regards,
--
Benoît Minisini
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user