Hi joejared@webworldinc.com,
>> BM> RL>Film_record = record
>> RL>> film_title,
>> RL>> Director_forename,
>> RL>> Director_surname,
>> RL>> Performer_forename1,
>> RL>> Performer_surname1,
>> RL>> Performer_forename2,
>> RL>> Performer_surname2,
>> RL>> Keyword1,
>> RL>> keyword2,
>> RL>> keyword3 :string;
>> RL>> end;
j> >
>> BM> I hope you realize this record is 2560 bytes long...
>> No, It's 20 bytes long.
>> If all strings are empty of course.
>> Pascal only saves needed info.
j> Add this to your program for proof of your statement.
j> Writeln('Sizeof Film_record=',Sizeof(film_record));
Well, according to me, your both correct. It will take 2560 bytes in
memory, but only 20 bytes (if empty) on disk. :)
Groeten van Nico Peelen
--- Terminate 5.00/Pro - Vga-Planets rulez!
---------------
* Origin: NPS Software Productions (2:283/548.52)
|