D
DianePDavies
I have a text file where I read one line at a time.
I would like to define a data type like:
Type DataRec
Rectype as string(2)
name as string(12)
adress1 as string(30)
..
..
end type
dim DR as DataRec
by assigning the input line to a variable of the type DataRec I would like
to be able to get to the individual fields like:
name = DR.name
where DR.name is then having the appropriate value.
How do I define variable of a certain string-length?
I would like to define a data type like:
Type DataRec
Rectype as string(2)
name as string(12)
adress1 as string(30)
..
..
end type
dim DR as DataRec
by assigning the input line to a variable of the type DataRec I would like
to be able to get to the individual fields like:
name = DR.name
where DR.name is then having the appropriate value.
How do I define variable of a certain string-length?