Hello,
If you open a file in random mode and set the record length to 2048,
is it safe to read a record into a structure that is smaller than
the record length?
Thanks...
------------------
Cheers
If you open a file in random mode and set the record length to 2048,
is it safe to read a record into a structure that is smaller than
the record length?
Code:
type CRecord m_WellNumber as long m_Pointer as long end type dim MyRecord as CRecord open"database.db" for random as #1 len = 2048 get #1,seek(1),MyRecord
------------------
Cheers
Comment