So, another routine done, sum(3). This lists all of the picture variables on the calculator that are instantiated. If no pictures exist, the output contains the one-element list {0}. The list {1,10,42} indicates that Pic 1, Pic 0 (note that 10=Pic0), and Pic 42 are on the calculator. A negative number means that the Pic number with the negative of that value exists, and is archived. Positive=in RAM, negative=archived, 0=no pics on calculator. This demo uses two programs. prgmA uses the sum(3) function. prgmB uses the XLib function real(9) (as emulated by Doors CS, of course) to create picture variables for the demo.
