Skip to main content

2001 | OriginalPaper | Buchkapitel

Programming: Functions and Procedures

verfasst von : Jack-Michel Cornil, Philippe Testud

Erschienen in: An Introduction to Maple V

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

In PASCAL, a function returns a result while a procedure carries out an action: a modification of variables may be the outcome of such an action, but a procedure doesn’t return a value, and is not directly usable within an expression. Such a distinction doesn’t exist with MAPLE whose functions and procedures both return a result which is usable within an expression: the difference mainly lies in the complexity of the definition.

Metadaten
Titel
Programming: Functions and Procedures
verfasst von
Jack-Michel Cornil
Philippe Testud
Copyright-Jahr
2001
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-56729-2_24