User manual

mikroPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
150
Prototype
procedure Inc(var par : longint);
Description Increases parameter par by 1.
Parameters - par: value which will be incremented by 1
Returns Nothing.
Requires Nothing.
Example
p := 4;
Inc(p); // p is now 5
Notes None.
Inc
Prototype
procedure Dec(var par : longint);
Description Decreases parameter par by 1.
Parameters - par: value which will be decremented by 1
Returns Nothing.
Requires Nothing.
Example
p := 4;
Dec(p); // p is now 3
Notes None.
Dec
Prototype
function Chr(code_ : byte) : char;
Description Function returns a character associated with the specied character code_. Numbers from 0 to 31
are the standard non-printable ASCII codes.
This is an “inline” routine; the code is generated in the place of the call.
Parameters - code: input character
Returns Returns a character associated with the specied character code_.
Requires Nothing.
Example
c := Chr(10); // returns the linefeed character
Notes None.
Chr