GET POINT ☆
GET POINT: x, y
assigns the coordinates of the point indicated by the mouse click to numeric variables x and y.
Progression of the program is to be suspended until a mouse click.
The beam is to be off.
Refer to PLOT LINES
Let A,B be 1-dimensional arrays, M be a 2-dimensional array.
MAT GET POINT A,B
obtains the coordinates of the points of number of the size of the array.
MAT GET POINT M
Let n be a numeric expression.
MAT GET POINT A(n),B(n)
Before execution, arrays are re-sized.
MAT GET POINT M(n,2)
MAT GET POINT: A(?),B(?)
While the left button of the mouse is pressed, the obtained coordinates are substituted for the arrays.
MAT GET POINT: M(?,)
The size of the arrays are adjusted by the number of the points obtained.
If the amount of the arrays has reached the upper bound, the execution ends.
Note.
MAT GET POINT statements may not operate properly on Linux or Mac.