codegen[makevoid] - do not return any values from a Maple procedure
codegen[dontreturn] - do not return a value from a Maple procedure
|
Calling Sequence
|
|
makevoid(f)
dontreturn(x, f)
|
|
Parameters
|
|
f
|
-
|
Maple procedure
|
x
|
-
|
any value
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
>
|
f := proc(x,A::array(1..2)) A[1] := x^2; return x,A end proc:
|
>
|
|
| (1) |
>
|
|
| (2) |
|
|
Download Help Document
Was this information helpful?