codegen
makevoid
do not return any values from a Maple procedure
dontreturn
do not return a value from a Maple procedure
Calling Sequence
Parameters
Description
Examples
makevoid(f)
dontreturn(x, f)
f
-
Maple procedure
x
any value
The dontreturn function is used to delete return values from a Maple procedure. The makevoid function deletes all return values from a Maple procedure.
The command with(codegen,dontreturn) allows the use of the abbreviated form of this command.
The command with(codegen,makevoid) allows the use of the abbreviated form of this command.
with⁡codegen:
f := proc(x,A::array(1..2)) A[1] := x^2; return x,A end proc:
dontreturn⁡A,f
procx,A::array⁡1..2A[1] ≔ x^2;returnxend proc
makevoid⁡f
procx,A::array⁡1..2A[1] ≔ x^2;returnend proc
See Also
codegen[declare]
Download Help Document