| Optional, repeatable, and varying type parameters |
| Full text |
Pdf
(910 KB)
|
| Source
|
ACM SIGPLAN Notices
archive
Volume 17 , Issue 2 (February 1982)
table of contents
Pages: 41 - 48
Year of Publication: 1982
ISSN:0362-1340
|
|
Authors
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 6, Citation Count: 2
|
|
|
ABSTRACT
Parameter passing mechanisms are developed for optional, repeatable, and varying type parameters. For optional parameters, a programmer-defined default value is passed when the actual parameter is not present; in addition, the called procedure may determine whether the actual parameter is present. An arbitrary number of actual parameters may be passed by binding them to an array-like structure in the called procedure. Syntax similar to Algol 68's union type is proposed to allow passing parameters of varying types. These mechanisms are suggested as useful extensions to Pascal-like languages.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Hoare, C. Procedures and parameters: an axiomatic approach. <u>Symposium on Semantics of Algorithmic Languages</u>. Lecture Notes in Mathematics 188, Springer-Verlag, 102--116.
|
| |
2
|
ISO Specification for the Computer Programming Language - Pascal, January, 1981.
|
| |
3
|
|
| |
4
|
McKenney, P. and K. Spitz. Letter to the editor, SIGPLAN Notices 15(12), Dec. 1980, 6--7.
|
| |
5
|
U.S. Department of Defense. Reference Manual for the Ada Programming Language, July 1980.
|
|