HP Prime Graphing NW280AAABA manual Creating a new program, Myprogram

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 507
Image 507

Creating a new program

In the following few sections, we will create a simple program that counts to three as an introduction to using the Program editor and its menus.

1.Open the Program Catalog and start a new program.

Sx(Program)

2.Enter a name for the program.

AA(to lock alpha mode)

MYPROGRAM

.

3.Press again. A template for your program is then automatically created. The template consists of a heading for a function with the

same name as the program, EXPORT MYPROGRAM(), and a BEGIN–END;pair that will enclose the statements for the function.

T i p A program name can contain only alphanumeric characters (letters and numbers) and the underscore character. The first character must be a letter. For example, GOOD_NAME and Spin2 are valid program names, while HOT STUFF (contains a space) and 2Cool! (starts with number and includes !) are not valid.

Programming in HP PPL

501

Page 507
Image 507
HP Prime Graphing NW280AAABA manual Creating a new program, Myprogram