[comp.sys.handhelds] My new 48.

frechett@snoopy.Colorado.EDU (Mac the Ripper/ / / /) (06/29/90)

Well, since I last posted, I have gotten a couple replies to a few specific
questions but over all the responce has been pretty under-whelming.
I really need some software for the HP.  Has anybody archived the programs
posted here.  At the moment I am looking for the comm program and something
that will store lists of numbers, names, adresses.  I am sure you all know
what I am talking about.  I don't know enough to do any serious programing
yet and I don't want to go and attempt to write something that is already 
out there.  So far I have just written a couple very specific programs for my
work.  I really need that comm program though.  I don't have a PC and am
forced to use the modem.  
	Also, I am looking for the frequencies for the tones on the phone,
OR a program that will autodial phone numbers.  I am willing to bet that 
there are people out there that have made such a thing.  Should be a very
small program.  The lister and dialer would be nice in one package too.
	The last thing that I am looking for is a simple answer to a
question.  Is there a function that will simply take a number and break it 
up and put it's pieces on the stack.  ex.  12345678 to
1
2
3
4
5
6
7
8
or the other way around.  OR something that will allow me to extract one 
digit out of a number would do the trick also.  I want to be able to 
enter a number and do simple arithmetic on each digit in the number.  
Any comments would be appreciated.

	Mac the Ripper/ / / /       frechett@snoopy.colorado.edu

BTW.  I would love to get in touch with anyone else with a 48 in Boulder CO.

math1i7@jetson.uh.edu (06/29/90)

In article <22895@boulder.Colorado.EDU>, frechett@snoopy.Colorado.EDU (Mac the Ripper/ / / /) writes:

> 	Also, I am looking for the frequencies for the tones on the phone,
> OR a program that will autodial phone numbers.  I am willing to bet that 

I don't think it is possible to dial with the HP48, as the phone 
dialing frequencies are made up of a combination of 2 different 
frequencies each.  I wrote a program on my Mac to do the dialing, and
was able to make it work because the Mac has 4 sound channels that 
can be programmed seperately.

If I am mistaken about this somebody please let me know.

Gordon

scottb@hpcvia.CV.HP.COM (Scott_Burke) (06/30/90)

I'll answer the second question.

To take a number like 1234567890, you've got two obvious (to me) choices.

One, to do a bunch of IP and MODs and division by 10s and all that stuff.

Or, do a STR-> to make it "1234567890", then a DUP SIZE to get the length
of the thing, then a loop from 1 to size to extract each digit in turn
(e.g., "1234567890" n n SUB will extract the nth character as a string),
then a OBJ-> on the returned character to change it back to a number.

If you then want to, you can REPL the number back into the string, and 
at the end of it all, do another OBJ-> to get your new number back.

scott@hpcvia.hp.com

My programming notes have nothing to do with HP.