ACTION! (c) 1983 ACS Now owned by Fine Tooned Engineering, ftooned@delphi.com **** Quick Reference File **** Author: unknown Edited by: Bill Kendrick kendrick@zippy.sonoma.edu, http://zippy.sonoma.edu/~kendrick edited revision 1, July 23, 1995 ***Editor Commands Summary*** Note: [^KEY] = hold [Control] and press the [KEY] [sKEY] = hold [Shift] and press the [KEY] [s^KEY] = hold both [Shift] and [Control] and press the [KEY] I/O Commands: 1. Read a file -- position the cursor, [s^R], enter filespec. 2. Disk Directory -- [s^R], ?n:*.* (n=optional device number). 3. Write a file -- [s^W], enter filespec 4. List to printer -- [s^W], enter P: 5. Start of Line -- [s^<] 6. End of Line -- [s^>] 7. Next Line -- [RETURN] 8. Tab -- [TAB] Cursor Movement: 1. Up, Down, Left, Right -- [ARROW] ([^-],[^=],[^+],[^*]) 2. Tab Handling: a. Set tab -- [sTAB] b. Clear tab -- [^TAB] 3. Window movement: a. Start of file (home) -- [s^H] b. End of file -- [s^E] c. Up one screen -- [s^UP] ([s^-]) d. Down one screen -- [s^DOWN] ([s^=]) e. Scroll to right -- [s^]] f. Scroll to left -- [s^[] 4. Text entry: a. Enter program -- enter text b. Next Line -- [RETURN] c. Editor characters -- precede each character with [Esc] d. Control characters -- enter control characters 5. Delete Text: a. Back 1 character -- [BACKSPACE] b. At cursor -- [^BACKSPACE] c. Delete current line -- [sBACKSPACE] d. Clear window -- [^CLEAR] or [sCLEAR] ([^<] or [s<]) 6. Insert/Replace text: a. Toggle modes -- [^sI] b. At cursor -- [^INSERT] ([^>]) b. Insert line -- [sINSERT] ([s>]) 7. Restore Altered Line: a. Restore line current -- don't move cursor off line, [s^U] b. Recall latest removed (using [sBACKSPACE]) lines (paste): [s^P] 8. Text blocks: (see also Delete Text and Restore Text above) a. Load Block -- position cursor, [sBACKSPACE] until done b. Paste block -- position cursor, [s^P] 9. Searches/Substitutions: a. Find String -- [s^F], enter string b. Repeat find -- [s^F] again (no other keystroke before) or [s^F] again and [RETURN] to accept latest string b. Substitute -- [s^S], enter replacement, enter string to replace 10. Breaking & Combining Lines: a. Break line -- position cursor, [s^RETURN] b. Combine line -- put cursor at front of second line, [s^BACKSPACE] 11. Editor to Monitor: a. Leave editor -- [s^M] ***MONITOR COMMANDS SUMMARY*** B restart Action! system C ("") compile an Action! program (from memory or disk) D call DOS E go to the Editor O go to the Options Menu P procede from program halt R ("") run a compiled Action! program (from memory or disk) SET
= sets a value in a specified memory location W ("") save a compiled program to disk (from memory) X :,: execute Action! language statement(s) ?
display value of an address (or compiler constant) *
display values of all addresses, starting at an address (or compiler constant) ***ERROR CODES*** 0 Out of system memory. 1 Missing " (double quote) " in a string. 2 Nested Defines. You cannot nest the Define directive. 3 Global variable symbol table full. 4 Local variable symbol table full. 5 Set directive syntax error. 6 Wrong declaration format. 7 Invalid argument list. 8 Variable not declared. 9 A variable was used where a constant of some kind was required. 10 Illegal assignment. 11 Unknown error. System error routines have been impaired so an error can't be defined. 12 Missing THEN 13 Missing FI. 14 Out of code space. 15 Missing DO. 16 Missing TO. 17 Bad expression. Illegal expression format. 18 Unmatched parenthesis. 19 Missing OD. 20 Can't allocate memory. 21 Illegal array reference. 22 Input file too large. Break it up. 23 Illegal conditional statement. 24 Illegal FOR statement syntax. 25 Illegal EXIT. No DO - OD loop for the EXIT to EXIT out of. 26 Nesting too deep (16 levels maximum). 27 Illegal TYPE syntax. 28 Illegal RETURN. 61 Out of Symbol Table space. 128 BREAK key was used to stop program execution. .