The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

49G+ programming features
Message #1 Posted by Standa(CZ) on 7 June 2004, 11:15 p.m.

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
Message #2 Posted by Vieira, Luiz C. (Brazil) on 7 June 2004, 11:41 p.m.,
in response to message #1 by Standa(CZ)

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
Message #3 Posted by Veli-Pekka Nousiainen on 8 June 2004, 4:01 a.m.,
in response to message #1 by Standa(CZ)

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
Message #4 Posted by Veli-Pekka Nousiainen on 8 June 2004, 4:03 a.m.,
in response to message #3 by Veli-Pekka Nousiainen

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
Message #5 Posted by Standa(CZ) on 8 June 2004, 9:20 a.m.,
in response to message #1 by Standa(CZ)

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


[ Return to Index | Top of Index ]

Go back to the main exhibit hall