TIP: Click on subject to list as thread! ANSI
echo: pascal
to: JOEJARED@WEBWORLDINC.COM
from: NICO PEELEN
date: 1998-04-15 21:23:00
subject: You grasser!

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.