mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-09 15:37:11 +01:00
+ 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
22 lines
265 B
ObjectPascal
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.
|