On Jul 10, 2006, at 6:58 AM, Bruce Moore wrote:

Now the same program that worked fine under rb2006r1 and rb2006r2 won't run and shows error for each string array I have in a structure saying "Structures cannot contain string fields".

There was a bug in the structure implementation prior to r3 which erroneously allowed you to declare arrays of variable-length strings, like this:

Structure foo
    bar(42) As String
End Structure

Variable-length strings are not allowed inside structures. You must specify the number of storage bytes the string occupies. This is true for both single string fields and string array fields:

Structure foo
    bar(42) As String * 16
    baz As String * 32
End Structure

Mars Saxman
REAL Software
_______________________________________________
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