HP-50g variable scripts
  Home FAQ Contact Sign in
comp.sys.hp48 only
 
Advanced search
POPULAR GROUPS

more...

comp.sys.hp48 Profile…
 Up
HP-50g variable scripts         


Author: ssylee
Date: Apr 2, 2008 23:07

Does anyone know what the variables that allow me to have a calculated
output based on the inputs on the stack is called? I'm trying to write
up some scripts for me to carry out repeating calculations faster when
I'm away from my computer and only with my calculator. Thanks.
4 Comments
Re: HP-50g variable scripts         


Author: ssylee
Date: Apr 2, 2008 23:50

On Apr 2, 11:07 pm, ssylee gmail.com> wrote:
> Does anyone know what the variables that allow me to have a calculated
> output based on the inputs on the stack is called? I'm trying to write
> up some scripts for me to carry out repeating calculations faster when
> I'm away from my computer and only with my calculator. Thanks.

Never mind about the last question. I know that I want to get started
on User-RPL programming on the HP-50g. However, the user's manual
doesn't seem to be very clear on some parts and I can't find any
understandable guides out there. Does anyone know where I can look for
a good guide?
no comments
Re: HP-50g variable scripts         


Author: John H Meyers
Date: Apr 3, 2008 00:11

On Thu, 03 Apr 2008 01:07:31 -0500, ssylee wrote:
> Does anyone know what the variables that allow me to have a calculated
> output based on the inputs on the stack is called? I'm trying to write
> up some scripts for me to carry out repeating calculations faster when
> I'm away from my computer and only with my calculator. Thanks.

Programs?

Are you referring in particular to "User-defined functions"?

It's not necessary to follow that style, because any program at all
can use data from the stack; a "UDF" is basically a program
which can be treated as a function within an algebraic formula, e.g.:

'Stan(x,y,z)=z^2-x^2-y^2' DEFINE

creates a program named 'Stan'
which takes its three arguments from the stack
and evaluates the given expression;
when you recall the program itself to the stack,
you will see how a "UDF" in particular looks,
but the following simpler program could also be used:

\<< SQ ROT SQ ROT SQ + - \>>

[r->] [OFF]
no comments
Re: HP-50g variable scripts         


Author: ssylee
Date: Apr 3, 2008 00:29

On Apr 3, 12:11 am, "John H Meyers" wrote:
> On Thu, 03 Apr 2008 01:07:31 -0500, ssylee wrote:
>> Does anyone know what the variables that allow me to have a calculated
>> output based on the inputs on the stack is called? I'm trying to write
>> up some scripts for me to carry out repeating calculations faster when
>> I'm away from my computer and only with my calculator. Thanks.
>
> Programs?
>
> Are you referring in particular to "User-defined functions"?
>
> It's not necessary to follow that style, because any program at all
> can use data from the stack; a "UDF" is basically a program
> which can be treated as a function within an algebraic formula, e.g.:
>
> 'Stan(x,y,z)=z^2-x^2-y^2' DEFINE
>
> creates a program named 'Stan'
> which takes its three arguments from the stack
> and evaluates the given expression; ...
Show full article (1.31Kb)
no comments
Re: HP-50g variable scripts         


Author: John H Meyers
Date: Apr 3, 2008 01:28

On Thu, 03 Apr 2008 ssylee wrote:
> I want to get started on User-RPL programming on the HP-50g.
> However, the user's manual doesn't seem to be very clear on some parts
> and I can't find any understandable guides out there.
> Does anyone know where I can look for a good guide?

IMO, HP wrote a bit better for the HP48G;
programming in UserRPL is still pretty much the same:

http://www.hpcalc.org/search.php?query=hp+48g+series+guide

Also Chapters 1 & 2 of the Advanced Users' Reference (AUR)
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00554621/c00554621.pdf

Training guides?
http://h20331.www2.hp.com/Hpsub/downloads/hp50gPDFfiles.zip
> Do you find it more inconvenient to type up the << >> programs
> on a computer before flashing them onto the calculator?
> I find typing on the calculator quite slow
> and it drains my batteries fairly quickly.
Show full article (1.77Kb)
no comments