HP Forums

Full Version: New Notes() and Programs() commands
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
i just tested the new Notes() command and it works well. It's nice to create notes from programs.
For further information please check the Help tool on the virtual or real prime calculator.

I was able to retrieve the Whole list of notes, the content of a note and create a new one.

The Programs() command should do the same on the program side and I was able to:
- retrieve the whole list of programs;
- list a specific program
but i was unable to create a new program from a program. Just to be less vague here you are my snippet code:

BEWARE BECAUSE THE EXECUTION OF THIS CODE CRASHES THE VIRTUAL CALCULATOR. I also lost the full memory of the virtual calc.

Code:

EXPORT Prova_comandi_6940()
BEGIN
//Notes("ppn"):="Ciao dalla tua prime";
Programs("ppn")=Programs(1);
PRINT(Programs("ppn"));
END;

Any help?

Thanks

Giancarlo
I have done some tests with the Notes() and Programs() commands with Rev 6975. They work fine so far.

I think that there is an error in your program: the ":" is missing before the "=" on the line "Programs("ppn")=Programs(1);"

With "Programs("ppn"):=Programs(1);" everything works fine. Without ":" the virtual calculator crashes (but without a memory lost).
Hello Didier,
Thanks for finding this little glitches that i create from time to time :+)

One nice application of the notes() command could be to save programs information in a file like the terminal window and retrieve them for future reference.

The program() command could be nice to use in order to feed a choose command and select the program to run.

Any other usage?

Thanks

Giancarlo
Reference URL's