HP Forums

Full Version: Newbie 41C question.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I recently acquired a 41C and I'm playing around with it and try some simple programming.
I ran into the problem that I can't seem to edit or delete a program if I forget to put a label in the first line of the program. The program than just eats memory but is not accesible. What's the trick to overcome this problem?

Thanks,
Paul
--

You will find it if you use "CAT 1". It will be listed, but not with a starting label. Just stop the CAT 1 listing when you see it (R/S), then you can make sure you stooped it at the right spot by entering the program (press PRGM). Go back to run-mode (PRGM again) and execute CLP and press Alpha twice (not giving any program name to clear will clear the current program).

To locate a program in program memory:
<Shift> catalog 1
and press R/S (do this direct after catalog 1 to stop the listing of the programs in program memory).
With SST you can go to the next program in program memory.
With BST you can go to the previous program in memory.
If you have located the program you want to delete, press <PRGM>.
Pres <PRGM> again to get out of program mode.
XEQ <ALPHA> CLP <ALPHA> <ALPHA>
and the current program is deleted.

One more thing to look for is the fact that all programs will have an END command. Executing GTO.. will assure that. The CAT function will list the program names and END for each program name in memory. Pressing R/S when the END flashes in the display will position you at that program. Switch to program mode to verify. Then, XEQ ALPHA 'CLP' ALPHA ALPHA ALPHA will delete that program. (If memory serves me correctly.)

My appologees to Geir for saying exactly what he did. (Duh)

Hello, Paul --

Almost five years ago, I also was a "newbie" owner of an HP-41, although I had fiddled with them in 1980-81. I encountered the same problem and asked the same question here in the Forum:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv008.cgi?read=16615#16615

Note the end of the thread, in which I found the answer in the "advanced" book of the user's manual set.

It just goes to show that "there's nothing new under the sun"!

-- KS

Edited: 3 Feb 2007, 4:32 a.m.

I didn't know about the CLP ALPHA ALPHA trick.

I have encountered this issue when reading in an HP67 card. Line 01 of those converted programs is simply LBL 67. When I want to get rid of the program, I have actually named it (adding a simple alpha label at line 01) and then CLP'd that name.

Your way is a lot simpler.

Les