HP Forums

Full Version: access notes and programs from program?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(deleted by author)
(10-16-2016 12:38 AM)moonbeam Wrote: [ -> ]Is it possible to read from and write to notes and programs from a program?

No offense. Did you even try to search for an answer before posting?

From the "Notes" entry in the online help:

The Notes variable gives access to the notes saved in the calculator.

With no argument, Notes returns a list of the names of all the notes in the calculator.

Notes(n) returns the contents of the nth note in the calculator (1 to NbNotes).

Notes("name") returns the contents of the note called name.

This command can also be used to define, redefine or clear a note.

Notes(n):="string" sets the value of note n. If the string is empty, the note is erased.

Similarly, Notes("name"):="string" sets the value of note "name". If string is empty, the note is erased. If there is no note called "name", creates it with string as content.

From the "Programs" entry in the online help:

The Programs variable gives access to the programs saved in the calculator.

Programs returns the list of the names of all the programs in the calculator.

Programs(n) returns the content of the nth program in the calculator (1 to NbPrograms)

Programs(n):="string" sets the program source code for program n. If String is empty, erases the program.

Programs("name") returns the source of program "name".

Programs("name"):="string" sets program "name" source code to string. If string is empty, erases the program. If there is no program called "name", creates it.
Reference URL's