03-08-2005, 04:42 PM
Hi All,
Ok let's say I have the following:
My Quesions are:
1. Can I have a String without a fixed lenght in a User Defined Type like what I'm doing (Knowing that this would be written to a binary file hence no specific structure or length should be needed).
2. Can I have dynamic arrays in User Defined Type definitions like I have here (who's length (ubound) would change elsewhere in the program)?
3. Could I have dymanic arrays of a type that would also have a dynamic array in it's definition? If so, how many levels deep would be allowed?
Thanks all.
Ok let's say I have the following:
Code:
TYPE SomeType
Description AS STRING
Age AS LONG
END TYPE
TYPE DynamicStructure
SomeNumber AS LONG
SomeName AS STRING
SomeArray() AS SomeType
END TYPE
My Quesions are:
1. Can I have a String without a fixed lenght in a User Defined Type like what I'm doing (Knowing that this would be written to a binary file hence no specific structure or length should be needed).
2. Can I have dynamic arrays in User Defined Type definitions like I have here (who's length (ubound) would change elsewhere in the program)?
3. Could I have dymanic arrays of a type that would also have a dynamic array in it's definition? If so, how many levels deep would be allowed?
Thanks all.
hen they say it can't be done, THAT's when they call me ;-).
need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com
need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com