Post Reply 
access notes and programs from program?
10-16-2016, 01:17 AM
Post: #2
RE: access notes and programs from program?
(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:

Code:
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:

Code:
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.

Ceci n'est pas une signature.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: access notes and programs from program? - Mark Hardman - 10-16-2016 01:17 AM



User(s) browsing this thread: 1 Guest(s)