Question: How to write a command for telling a statement immediately after the end of a procedure?

Hi my dear friends,

I’ve developed a simple procedure as follows:

> PS:=proc(E)

> if E<10 then E^2

> else 0

> end if:

> printf("V=%d\n",%):

> end proc:

I want to write a command that after Entering the >PS:=proc(E) tells users a statement like this: “Please Enter Energy in SI Units as E in this command >PS(E)”  immediately after >end proc: .

How can I do it?

Thanks a lot in advance for your precious helps,

Werner Melzer

 

Please Wait...