How much storage requires this record? |
|
How much storage requires the following record? I am afraid that in some
compilers each string would require about Natural'Last bytes (way too much).
type Filename_And_Fragment (Filename_Length, Fragment_Length: Natural) is
record
Filename: String(1..Filename_Length);
Fragment: String(1..Fragment_Length);
end record;
If the above is wrong (from memory positions), what is the right way to do
it?
--
Victor Porton - http://portonvictor.org
|