Datasheet
Programming PIC Microcontrollers in BASIC - mikroElektronika
Example
select case W
 case 0
 B = 1
 PORTB = B
 case 1
 A = 1
 PORTA = A
 case else
 PORTB = 0
end select
...
select case Ident
 case testA
 PORTB = 6
 Res = T mod 23
 case teB + teC
 T = 1313
 case else
 T = 0
end select
4.1.3 GOTO Statement – Unconditional jump to the specified label
Syntax
goto Label
Description Goto statement jumps to the specified label unconditionally, and the program 
execution continues normally from that point on.
Avoid using GOTO too often, because over-labeled programs tend to be less 
intelligible.
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/04.htm (5 sur 9)05/11/2004 02:15:36










