home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol6n20.zip
/
FIGURES.ZIP
/
FIGURE.6
< prev
next >
Wrap
Text File
|
1987-10-16
|
373b
|
17 lines
{$R+}
PROGRAM Size_Example;
FUNCTION Example(I : integer) : Byte;
BEGIN
Example := I;
END;
PROCEDURE NextProcedure; BEGIN END;
BEGIN
Write('The SIZE of the function "Example" is ');
WriteLn(ofs(NextProcedure) - ofs(Example),' bytes.');
Write('Change the {$R+} at the top to {$R-} ');
WriteLn('and see the size reduction.');
END.