//MPMorph-rexx/ADDGRID
ADDGRID :
NAME
ADDGRID -- Adds a grid of joined points.
SYNOPSIS
ADDGRID( X/K/A/N,Y/K/A/N,FORCE/S )
FUNCTION
Adds a grid of points joined by lines. Displays a requester if the
current project is not saved.
INPUTS
X - The X number of cells.
Y - The Y number of cells.
FORCE - Prevents the unsaved project requester.
RESULT
Returns error 10 if X or Y are zero, or other error.
EXAMPLE
ADDGRID X 5 Y 5
NOTES
The number of points added is (X+1)*(Y+1).
BUGS
SEE ALSO
TRIANGULATE(), ADDPOINT(), LINKPOINTS().