|Multiple programs in the 11C, 15C and 34C|
Message #9 Posted by Karl Schneider on 29 Oct 2003, 3:16 a.m.,
in response to message #1 by Frederic
I think that Ernie Malaga identified the crux of the issue -- END statements allowing separation of program units in the 41C* and 42S, with alphanumeric "global" and numeric or single-character "local" labels.
My contrast, the other calcs you mention lack the END statement, and all labels are effectively "global". This makes it more dificult to manage libraries of separate programs.
Here's how to get around this problem on the 11C, 15C, and 34C. (NOTE: These instructions will NOT work on the 10C or 12C -- they have no labels or line-delete key; programs cannot be edited and subroutine-calls can be emulated only with GTO to line numbers.)
The 15C offers 25 labels: A-E, 0-9, and .0-.9
The 34C offers 12 labels: A, B, 0-9.
(I'd have to look up the 11C on this website.)
1. Before assigning a label in a program (e.g., LBL A), exit program mode and try to go to that label in run mode(e.g., GTO A). If the display returns without error, the label is in use; try others one-by-one, until you get an error message, then use that one.
2. Put a "return" statement (RTN) at the end of every routine. That way, any routine will stop when completed, and individual routines can be executed.
3. You may delete an individual routine line-by-line on these three calcs by pressing the back arrow (11C, 15C) or the DEL instruction (34C), starting with the last instruction in the routine. However, CLEAR PROGRAM in PRGM mode will wipe out all user programming in one fell swoop.