I wrote a quick line to see how big a smallint is:
program main;
{$mode objfpc}
uses browserconsole; // For output in correct console panel...
begin
Writeln('shortint is ', SizeOf(shortint), ' bytes.');
end.
Compiling results in this error:
tmp/main.pp(8,27) Error: identifier not found "SizeOf"
Compiling the same program (sans the browserconsole unit) works as expected.
tnx.
(btw, thanks for getting the wiki back online!)
g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
I'm not crazy, I'm plausibly off-nominal!
ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
https://github.com/geneb/ScarletDME - Get it _today_!
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal