Question: module or procedure call from module

Can any one help me with an example of how to use module in embedded components where a (action:-
 

 

action := module () export arithmatic, times;  arithmatic := proc (a, b) options operator, arrow; a+b end proc; arithmatic := proc (a, b) options operator, arrow; a-b end proc; times := proc (a, b) options operator, arrow; `mod`(a*b, 5) end proc end module

_m1580648227872

(1)

action:-arithmatic(2, 5)

-3

(2)

action:-times(2, 6)

2

(3)

``

I want a procedure (say plot math container in a plot area) in place of arithmatic above.

OR I want a number of calculations under arithmatic ( a+b and a-b)

What is the method I should adopt? How do i insert another module or procedure inside the above module?

Which help page will help me?

Thanks.

Ramki

NULL


 

Download ModuleExample.mwModuleExample.mw

get command is used)?

I attach a module i made for edit and comment.

Thanks.

Ramakrishnan V

Please Wait...