Datasheet

Programming PIC Microcontrollers in BASIC - mikroElektronika
Prototype
sub function Lo(dim Par as byte..longint) as byte
Description Returns byte 0 of <Par>, assuming that word/integer comprises bytes 1 and 0, and longint comprises bytes 3, 2,
1, and 0.
Example
Lo(A) ' returns lower byte of variable A
5.1.5 Hi – Extract one byte from the specified parameter
Prototype
sub function Hi(dim arg as word..longint) as byte
Description Returns byte 1 of <Par>, assuming that word/integer comprises bytes 1 and 0, and longint comprises bytes 3, 2,
1, and 0.
Example
Hi(Aa) ' returns hi byte of variable Aa
5.1.6 Higher – Extract one byte from the specified parameter
Prototype
sub function Higher(dim Par as longint) as byte
Description Returns byte 2 of <Par>, assuming that longint comprises bytes 3, 2, 1, and 0.
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (6 sur 112)05/11/2004 02:20:52