On May 16, 2006, at 6:27 PM, Asher Dunn wrote:
On May 14, 2006, at 7:14 PM, Norman Palardy wrote:
That's still basically statically declared
Now if I could do
Function doSomething (i as integer)
Dim x As New Structure(a As String*i, b As Integer, c As Boolean)
where the size is NOT known at compile time that would be useful
That's called a class, Norman ;-)
Not really.
I suppose a structure with a Ptr would do for many cases that a
variable sized string would be required
I know of several places where this would be handy like ASF files
where you get a "size" and then a structure that holds N many items
that are structures/integers/etc. Sometime what you get is a size
followed by a string and I'd like to read the string right in.
Being able to dynamically declare the size would be useful.
Instead now I parse the size and the read it into a memoryblock
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>