HP Forums
49G+ programming features - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: 49G+ programming features (/thread-58150.html)



49G+ programming features - Standa(CZ) - 06-07-2004

Hello, sorry for my bad english...
I want buy 49G+, so I have some questions:
1. Is possible to create dialogs similar to TI-89 (strings, inputs and outputs in one dialog) ?
2. Can I create user-defined menu?
3. Functions, that are be able to return value directly, not only into variable (like ClassPad).
4. Possibility to store and recall variables from SD card by commands in programs.
5. Functions similar to TI: Try - EndTry and ClrErr.
Thank you for your answers :)
Standa(CZ)


Re: 49G+ programming features - Vieira, Luiz C. (Brazil) - 06-07-2004

Hi, Standa;

I think I have answers to some questions of yours:

2. Can I create user-defined menu?
Yes. Features for custom menu allow you to associate a custom string to a key and allow different actions to each:
press a menu key directly
[left-shift] and
[right-shift] prior to press the key
3. Functions, that are be able to return value directly, not only into variable (like ClassPad).
All internal functions (O.S. defined, like LN, SIN, etc) that return values place them in the stack, i.e., they are not necessarily associated to variables. Some applications change or use values in variables that already exist, like TVM or CAS functions. If you mean custom-defined functions, it depends on the way you create/define them.
4. Possibility to store and recall variables from SD card by commands in programs.
Yes. Storing and recalling (and purging) variables in SD cards are merely a question of adding :3: (designator to port 3) as the first "character" of the variable's name. If you want to store an object (already in level 1) in an SD card with the name 'DATA1', you type in:
:3:DATA1 [STO]
This sequence can be part of a program as well.

Sorry, but I have no answer for the other ones.

Cheers.

Luiz (Brazil)

Edited: 7 June 2004, 11:59 p.m.


Re: 49G+ programming features - V-PN - 06-08-2004

I want buy 49G+, so I have some questions: 
1. Is possible to create dialogs similar to TI-89 (strings, inputs and outputs in one dialog) ?

VPN: INPUT and INFORM commands are quite close
VPN: download

2. Can I create user-defined menu?

{ COS { "CSC" << INV COS >> }
{ "Three" { Normal left.shift right.shift }}
MENU

3. Functions, that are be able to return value directly, not only into variable (like ClassPad).

VPN: That's the way they usually work
VPN: << -> y x << x LN y LN / EVAL >> >> 'yLOGX' STO

4. Possibility to store and recall variables from SD card by commands in programs.

:SD:"DOSDIR/SUBDIR/VAR" RCL or STO
:3: { DOSDIR SUBDIR VAR } RCL or STO

5. Functions similar to TI: Try - EndTry and ClrErr.

IFERR..THEN..END
IFERR..THEN..ELSE..END
also
# errnh DOERR
# errn.dec DOERR
# "User String" DOERR
and
in the HOME directory you can have STARTERR -a custom errorhandler.
BUT
*do not use it*
until you have mastered the programming
or you may end up in an endless error loop

# VPNh




Re: 49G+ programming features - V-PN - 06-08-2004

1. Is possible to create dialogs similar to TI-89 (strings, inputs and outputs in one dialog) ? 
VPN: INPUT and INFORM commands are quite close
VPN: download http://www.hpcalc.org/details.php?id=6036



Re: 49G+ programming features - Standa(CZ) - 06-08-2004

Thank you for your answers. I am decided to buy HP49G+ before TI-89 Titanium :)