If you use local variables, you don't have to purge them. They're never stored (STO). Or you can PURGE the stored vars in your program right before it ends. And you don't have to use the INFORM or INPUT for getting input in the middle of a program. You can put a prompting string on the stack and use the HALT command. The following example illustrates this. After entering a number in response to the prompt, you then press the CONT key. << 2 3 * "enter a number" HALT SWAP DROP 4 * *>> or << 2 3 * "enter a number" HALT SWAP DROP DUP 'X' STO 4 * *>> ...if you want to store it. --- On Wed, 6/10/09, rickwendel763242 <rickwendel763242@...> wrote: > From: rickwendel763242 <rickwendel763242@...> > Subject: [50g] Re: polar to rectangular > To: 50g@yahoogroups.com > Date: Wednesday, June 10, 2009, 7:19 PM > I spent the last week and a half > reading 1000 pages of broken, illiterate nonsense. > Everything is trial and error with the HP50G. I've > owned the calculator for over two years and the idiots at HP > still can't hire a 9th grader to write a useful manual for > them. The only way I've found to convert from polar to > rectangular and vise versa is to write a program which will > appear on a soft key in the directory you choose. I > just started trying to figure out how to program, but > programming is twice as ridiculous as figuring out the > conversion. The commands for inputing a variable are > two lines long and make no sense. Then the variable > has to be purged afterwards... Absolutely idiotic... > > > > ------------------------------------ > > Yahoo! Groups Links > > > mailto:50g-fullfeatured@yahoogroups.com > > >
Message
Re: [50g] Re: polar to rectangular
2009-06-11 by Don Hart
Attachments
- No local attachments were found for this message.