User`s manual
Unary arithmetic operators can be used to change sign of variables:
a = 3
b = -a
' assign value -3 to b
PIC microcontrollers are optimized to work with bytes. Refer to PIC MCU
Specific.
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
78
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
making it simple...
page
Unary
arithmetic
operators
Operator Operation Operand Types Result Types
+(unary) sign identity
short, integer,
longint
short, integer,
longint
- (unary) sign negation
short, integer,
longint
short, integer,
longint
Runtime
Behavior