It is possible to pass to a procedure a name which will be used to name a geometric object.

> with(geometry):

> f:=proc(n, x,y); point(n, x,y); end proc;

> f('A', 1, 1);

> coordinates(A);

>

This post was generated using the MaplePrimes File Manager

View 744_name-geometry.mw on MapleNet or Download 744_name-geometry.mw
View file details


Please Wait...