Skip to main content
Top

1985 | OriginalPaper | Chapter

Parameters

Author : Professor Dr. Niklaus Wirth

Published in: Programming in Modula-2

Publisher: Springer Berlin Heidelberg

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Procedures may be given parameters.They are the essential feature that make procedures so useful. Consider again the previous example of procedure Add. Very likely a program contains several arrays to which the procedure should be applicable. Redefining it for each such array would be cumbersome, inelegant, and can be avoided by introducing its operand as a parameter as follows.

Metadata
Title
Parameters
Author
Professor Dr. Niklaus Wirth
Copyright Year
1985
Publisher
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-96878-5_13

Premium Partner