hp 33s programming



#2

does anybody know if there is a way to get around the limited number of LABELS you can use.
right now only A...Z are allowed. I need more for the programs I am using.


#3

I'm not familiar with HP33S, but with my HP29C I used several labels twice when I needed more than the maximum of ten. When the one GTO would skip only a few lines and another would do the same thing elsewhere, I could give them both the same label number. GTO doesn't scan from the beginning of the program, but from its own line downwards.
Perhaps something similar is possible for you?


#4

I have no direct experience with the 33s but, based on previous posts, I understand that duplicated labels are not allowed. There is an article by Paul Brogger on the Articles forum, with ideas about this issue.


#5

There are several ways of reducing the number of labels
used. If the subroutine (Label) is short you can use
a conditional statement before each statement.

You can do it in a long subroutine, as well, but it gets
messy and not very elegant. For example, flags 1 thru
6 are user defined; You could use those in conditional
tests to perform subroutines without using a label.
You can also use no labels and have RTN statements at
the end of each individual routine and then use the
GTO. nnn to move the program cursor at the beginning
of a routine. Unfortunately that cannot be programmed.

...just some ideas.

Brent

#6

You can't use duplicate labels on the 33S.

If you have a lot of small programs, you can save labels by using GTO . [line number] R/S to launch them, instead of XEQ [label].

Say you have 10 different programs. Start the first one at line A 0000, the second at line A 0100, the third at line A 0200, etc. Don't label the beginning of the program. Fill in any extra lines between programs with RTN statements.

Then to start the second program, you would enter:

GTO . A 0100, followed by R/S

The GTO will move the program pointer to line A 0100, and the R/S will start the program that begins there. It's not as easy as typing XEQ A, but it works


Possibly Related Threads...
Thread Author Replies Views Last Post
  33s - programming question Frank Rottgardt 4 476 05-15-2008, 08:27 PM
Last Post: Don Shepherd
  HP 33S programming Antonio Maschio (Italy) 10 837 04-07-2006, 10:35 PM
Last Post: James M. Prange (Michigan)
  Help with Programming a HP 33S Eric 5 469 04-07-2006, 10:48 AM
Last Post: Vense Phonesouphan
  Integration Times "Old" 33s vs "New" 33s John Smitherman 21 1,536 12-14-2005, 12:04 AM
Last Post: Karl Schneider
  HP 33s programming Alexander Thorp 16 1,162 03-04-2005, 03:14 AM
Last Post: Tizedes Csaba [Hungary]
  Custom Programming vs. Pre-packaged programming Eddie Shore 3 473 01-24-2005, 03:42 AM
Last Post: Karl Schneider
  HP-33s variable programming Michel 5 472 10-25-2004, 09:33 AM
Last Post: bill platt
  33S: new programming strategy kc 3 386 05-15-2004, 12:23 PM
Last Post: bill platt
  Programming help and the 33S rob 8 771 03-03-2004, 08:40 AM
Last Post: bill platt

Forum Jump: