Was there a reason for not implementing the Structure more flexible?

I was hoping to finally be able to do something like this:

Dim x As New Structure(a As String*10, b As Integer, c As Boolean)

x.a="1234567890"
x.b=1
x.c=True

Ronald Vogelaar
--
http://www.rovosoft.com




Hi Mars,

Hmmyes, I meant 'in code', but you got my meaning.
I guess I was misled a bit by a line from the REALbasic User's guide: "A structure can provide a convenient alternative to the MemoryBlock".

I suppose a Structure makes use of a MemoryBlock internally? In any case, it's not the Struct I was hoping that RB2006 would have.

_______________________________________________
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>

Reply via email to