addPoint
addPoint(l_point) =>t / nil
Description
Adds the point to the enterfunction in the current window.
addPoint is often used in conjunction with hiGetCommandPoint to add the point where you last clicked to an enterfunction.
Argument
Values Returned
Examples
Displays the prompt Enter a point is displayed on the CIW prompt line:
procedure( pointDone( w done pts )
if( done then
printf("Point entered was %L.\n" car(pts))
else
println("Point entry aborted.")
)
)
enterPoint( ?prompts
list( "Enter a point.")
?doneProc "pointDone"
)
Adds the point at 2:6 location:
addPoint(2:6)
The enterfunction terminates and doneProc prints the specified message:
Point entered was (2.000 6.000).
The enterfunction returns the point list:
(2.000 6.000)
Related Topics
Return to top