16 Programming

Introduction ........................................................................

16-1

Program catalog ............................................................

16-2

Creating and editing programs.............................................

16-4

Using programs ..................................................................

16-7

Customizing an aplet...........................................................

16-9

Aplet naming convention...............................................

16-10

Example......................................................................

16-10

Programming commands....................................................

16-13

Aplet commands ..........................................................

16-14

Branch commands ........................................................

16-17

Drawing commands......................................................

16-19

Graphic commands ......................................................

16-20

Loop commands ...........................................................

16-22

Matrix commands.........................................................

16-23

Print commands............................................................

16-25

Prompt commands ........................................................

16-25

Stat-One and Stat-Two commands ..................................

16-28

Stat-Two commands ......................................................

16-29

Storing and retrieving variables in programs....................

16-30

Plot-view variables ........................................................

16-30

Symbolic-view variables ................................................

16-37

Numeric-view variables.................................................

16-39

Note variables .............................................................

16-42

Sketch variables ...........................................................

16-42

17 Extending aplets

 

Creating new aplets based on existing aplets .........................

17-1

Using a customized aplet ................................................

17-3

Resetting an aplet................................................................

17-3

Annotating an aplet with notes .............................................

17-4

Annotating an aplet with sketches .........................................

17-4

Downloading e-lessons from the web.....................................

17-4

Sending and receiving aplets ...............................................

17-4

Sorting items in the aplet library menu list ..............................

17-5

Contents

v