| A |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| ABORT | Stops execution and returns to command level. |
| B |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| BEGIN CASE | BEGIN CASE and END CASE are designed to bracket a set of CASE statements. |
| BREAK KEY | Determins whether or not a user can issue a break command to interrupt the execution of a program. |
| C |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| CALL | Transfer control to a subroutine, with the expectation that control will transfer back when the subroutine encounters a RETURN. |
| CASE | CASE statements are a cleaner form of cascading IF-THEN-ELSE. |
| CHAIN | Use this command to transfer control from on program to another with no method for returning. |
| CONTINUE | Skips to NEXT or RETURN in a loop. |
| D |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| DEFFUN | Makes a function available withing a program. The function must exist in its own item. |
| DO | DO is a looping command. |
| E |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| ELSE | It is used only in conjunction with another branching command. THEN is the "Yes" path. ELSE is the "No" path. |
| END | Used by several different branching commands to end a conditional block of code. It can also be used to establish physical end of program, a point after which the compiler will ignore all text in a program. |
| END CASE | BEGIN CASE and END CASE are designed to bracket a set of CASE statements. |
| END ELSE | It is used only in conjunction with another branching command. THEN is the "Yes" path. END ELSE is the "No" path. |
| ENTER | Use this command to transfer control from on program to another with no method for returning. |
| EXIT | Allows process to exit out of the innermost loop. Should be managed by proper use of the inherent UNTIL / WHILE structure. |
| F |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| FOR | This is a looping command, which is a special form of branching command, designed to repeat a block of code. |
| FUNCTION | This is an alternative to the SUBROUTINE command. |
| G |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| GO | Use this command when you want to jump to a different point in the code with no need to return. |
| GOSUB | GOSUB allows a program to detour to a label within the same program and then resume from the original point when it encounters a RETURN. |
| GOTO | Use this command when you want to jump to a different point in the code with no need to return. |
| I |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| IF | This is the primary branching command. I is used to include and excludeblocks of code dynamically at runtime. |
| INPUTIF | Allows several things to be mashed into a single, poorly thought out command. Use INPUT instead and increase readability. |
| ISNULL | |
| ISNULLS | |
| L |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| LOCATE | There are two syntaxes for the LOCATE. Both are explained here. |
| LOOP | Initiates a DO loop. |
| N |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| NEXT | Part of the FOR loop. |
| NOT | NOT reverses the logic of a boolean test. True is false. False is true. |
| NULL | A compiler directive used to represent a NOOP condition. It means 'do nothing at this step.' |
| NUMS | |
| O |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| ON | Use ON as part of the GOSUB command or as part of the WRITE command. |
| P |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| PERFORM | Executes a command as if issued from the command line. |
| R |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| READNEXT | Gets a value (typically an ID) from a select list, then moves the pointer forward to the next value. |
| REPEAT | This command indicates the end of a LOOP. |
| RETURN | Used to mark the end of a local subroutine (See: GOSUB) or external subroutine (See: CALL). |
| S |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| STEP | Optional part of the FOR command. |
| STOP | Stops execution and returns to command level. |
| SUBR | Marks a program as a subroutine. |
| SUBROUTINE | Marks a program as a subroutine. |
| T |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| THEN | It is used only in conjunction with another branching command. THEN is the "Yes" path. ELSE is the "No" path. |
| TO | Used in FOR, EQU, and EQUATE. |
| TRANSACTION ABORT | Aborts all of the work since TRANSACTION START was issued. |
| U |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| UNTIL | Manges the exit from a DO or FOR loop. |
| W |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| WHILE | Manges the exit from a DO or FOR loop. |
| Idea |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| BRANCHING | Without branching, programs would execute each command once, in order. Branching allows us to repeat sections of code, perform some sections conditionally, and skip others based on external events. |
| CASE 1 | CASE 1 is a common construct in BASIC. |
| Code |
Index: A B C D E F G I L N O P R S T U W Idea Code |
| FUNCTION | Example of the FUNCTION and DEFFUN commands versus the SUBROUTINE and CALL commands. |
| VALIDATION | Examples of validation logic. |
| | |