On Jul 10, 2006, at 7:08 PM, realbasic-nug-
[EMAIL PROTECTED] wrote:
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
I have specified lengths and your example
bar(42) As String * 16
will cause a compile error and I have received an email saying that
it has been fixed but the fix has not been verified for 2006r4a1. I
guess I can just keep using 2006r2 until r4 is released.
--
Bruce Moore
PowerQuote Software
Manassas, Virginia
"PowerQuote Makes Accurate Printing Estimating a Breeze"
http://www.macestimating.com
Ph. 800-686-0067(US and Canada) or 703-361-0369(Intl)
_______________________________________________
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>