fpc/ide/text/test2.pas
peter 3caaa020b0 + Implemented still missing 'switch' entries in Options menu
+ Pressing Ctrl-B sets ASCII mode in editor, after which keypresses (even
    ones with ASCII < 32 ; entered with Alt+<###>) are interpreted always as
    ASCII chars and inserted directly in the text.
  + Added symbol browser
  * splitted fp.pas to fpide.pas
1999-01-12 14:29:31 +00:00

22 lines
265 B
ObjectPascal

unit Test2;
interface
type
PRecord = ^TRecord;
TRecord = record
Field1: longint;
Next : PRecord;
end;
function IsOdd(X: integer): boolean;
implementation
function IsOdd(X: integer): boolean;
begin
IsOdd:=(X mod 2)=1;
end;
END.