D
David Scemama
Hi,
I need to read fixed length records from a file. The record contains a fixed
sized table of another structure (let's say 100 elements).
I use the fileGet method to read the records with a structure.
The first problem I have is that I did not manage to define a fixed sized
array in the structure
structure Rec1
public tab as Rec2(100) 'Rec2 is another structure
end Structure
is not a valid syntax
I've then tried to do the following :
Structure Rec1
<VBFixedString(100*sizeofRec2)> tab as string
End Structure
in this case, I can read Rec1 correctly, but I can't figure out how to
extract the elements of type Rec2 in tab
Thanks for your help
David
I need to read fixed length records from a file. The record contains a fixed
sized table of another structure (let's say 100 elements).
I use the fileGet method to read the records with a structure.
The first problem I have is that I did not manage to define a fixed sized
array in the structure
structure Rec1
public tab as Rec2(100) 'Rec2 is another structure
end Structure
is not a valid syntax
I've then tried to do the following :
Structure Rec1
<VBFixedString(100*sizeofRec2)> tab as string
End Structure
in this case, I can read Rec1 correctly, but I can't figure out how to
extract the elements of type Rec2 in tab
Thanks for your help
David