Sheerpower®
A Guide to the Sheerpower Language


Previous Contents Index

Chapter 10
10 Loops, Conditionals, and Chaining
     10.1     FOR/NEXT Loop
         10.1.1         The STEP Option
         10.1.2         Nesting Loops
         10.1.3         EXIT FOR
         10.1.4         REPEAT FOR
         10.1.5         ITERATE FOR
     10.2     DO LOOP
         10.2.1         WHILE and UNTIL Options
         10.2.2         EXIT DO
         10.2.3         REPEAT DO
         10.2.4         ITERATE DO
     10.3     EXECUTE
     10.4     Conditionals
     10.5     IF/THEN ... END IF
         10.5.1         ELSE Option
         10.5.2         ELSEIF Option
     10.6     SELECT CASE/END SELECT
         10.6.1         CASE expr, expr, expr...
         10.6.2         CASE ELSE Option
         10.6.3         CASE IS Option
     10.7     CHAIN Programs
     10.8     Pass Commands to the Operating System
         10.8.1         PASS [NOWAIT | NORETURN | WINDOW | TIMEOUT]
             10.8.1.1             PASS NOWAIT
             10.8.1.2             PASS NORETURN
             10.8.1.3             PASS WINDOW
             10.8.1.4             PASS TIMEOUT
         10.8.2         PASS PRINT
         10.8.3         PASS URL
     10.9     DISPATCH
Chapter 11
11 Set and Ask Statements
     11.1     SET AUTOEXIT
     11.2     SET BACK ON | OFF
         11.2.1         SET BACK ON
         11.2.2         SET BACK OFF
     11.3     SET ERROR ON | OFF
         11.3.1         SET ERROR ON
         11.3.2         SET ERROR OFF
     11.4     ASK ERRORS
     11.5     SET EXIT ON | OFF
         11.5.1         SET EXIT ON
         11.5.2         SET EXIT OFF
     11.6     SET HELP ON | OFF
         11.6.1         SET HELP ON
         11.6.2         SET HELP OFF
     11.7     SET ICON
     11.8     ASK KEYSTROKES
     11.9     ASK | SET MARGIN
         11.9.1         ASK MARGIN
         11.9.2         SET MARGIN
     11.10     ASK PAGESIZE
     11.11     SET PROGRAM TIMEOUT
     11.12     ASK RESPONSES
     11.13     SET SCROLL
         11.13.1         RANDOMIZE
     11.14     ASK | SET SEED
     11.15     ASK | SET SYSTEM
         11.15.1         ASK | SET SYSTEM: CLIPBOARD
         11.15.2         ASK SYSTEM: COMMENT
         11.15.3         SET SYSTEM: COMMENT
         11.15.4         ASK SYSTEM: DIRECTORY
         11.15.5         SET SYSTEM: DIRECTORY
         11.15.6         ASK SYSTEM, LOGICAL: VALUE
         11.15.7         SET SYSTEM, LOGICAL: VALUE
         11.15.8         ASK SYSTEM: MODE
         11.15.9         ASK SYSTEM: PARAMETER
         11.15.10         ASK SYSTEM: PID
         11.15.11         ASK SYSTEM: PROCESS
         11.15.12         SET SYSTEM: PROCESS
         11.15.13         ASK SYSTEM: PROGRAM
         11.15.14         ASK SYSTEM: RIGHTS
         11.15.15         ASK SYSTEM, SYMBOL: VALUE
         11.15.16         Performing DNS Lookups with ASK SYSTEM, SYMBOL
         11.15.17         SET SYSTEM, SYMBOL: VALUE
         11.15.18         ASK/SET SYSTEM, SYMBOL 'DNS:x.x.x.x' Prefix
         11.15.19         ASK/SET SYSTEM, SYMBOL 'OS:xxx' Prefix
         11.15.20         ASK SYSTEM: USER
     11.16     ASK | SET WINDOW
         11.16.1         ASK WINDOW AREA
         11.16.2         SET WINDOW AREA
         11.16.3         ASK WINDOW: COLUMN
         11.16.4         SET WINDOW: COLUMN
         11.16.5         ASK | SET WINDOW: CURRENT
         11.16.6         ASK WINDOW: DATA
         11.16.7         SET WINDOW: DATA
         11.16.8         ASK | SET WINDOW: KEYMAP
         11.16.9         SET WINDOW KEYSTROKE: VALUE
         11.16.10         ASK WINDOW: ROW
         11.16.11         SET WINDOW: ROW
         11.16.12         ASK WINDOW: TYPEAHEAD
         11.16.13         SET WINDOW: TYPEAHEAD
     11.17     ASK | SET ZONEWIDTH
         11.17.1         ASK ZONEWIDTH
         11.17.2         SET ZONEWIDTH


Previous Next Contents Index