Here' some code to produce the subtraction facts students should know when
they enter Grade 3.
Run the code but don't look at it too closely.
You will also see two images. Guess how they are made before you read the
code.
load 'viewmat'
GRB=:1 0 2{"1 (#:i.8){0 255
E=:2+2*i.4
E{."0 1 D
F=:<'-'
G=:<}.,' ',"1 ":,.i.11
H=:<,.i.21
I=:":((i.11),10#11){."0 1 (i.21)-/i.11
J=:(2+3*i.11),10#32
K=:J{."0 1 I
GRB viewmat K
GRB viewmat ".K
]MINUS=:(F,.G),:H,.<K
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm