| Electronic Components Datasheet Search |
|
UM0715 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0715 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 24 page ![]() Basic command UM0715 10/24 Doc ID 15798 Rev 2 GOTO GOTO executes a jump to another line. The line number is usually a constant, but GOTO x is supported. Usage GOTO numeri0 10 GOTO 100 10 GOTO x IF...THEN The IF ... THEN construct allows to make decisions. If the test condition is true, then control jumps to the line indicated after the THEN keyword. If false, control passes to the next line. No statements other than a line number may appear after the THEN keyword, though the form: IF y < 10 THEN x is supported . The relational operators are =, <> (not equal), >, >=, < and <=. They can be applied to strings or to numerical expressions. The AND and OR logical operators can also be used. Usage IF relational THEN numeric 10 IF x < 10 THEN 100 10 IF a$ <> “OK” AND a$ <> “YES” THEN x NEXT For description see FOR. Usage NEXT id 10 FOR I = 1 TO 10 20 PRINT I 30 NEXT I REM This statement is used for adding comments to programs. It allows multi-line comments, as long as the first character of every continued line is a space. Usage REM any comments 10 REM Demonstration program by Malcolm McLean 10 REM This is an extremely long comment, which is spread over two 10 REM PRINT “This PRINT statement is commented out” . Table 1. Basic commands (continued) Name Remarks |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |