Function definition: Difference between revisions
Content added Content deleted
No edit summary |
(→{{header|COBOL}}: Ch) |
||
Line 241:
=={{header|COBOL}}==
In COBOL, ''multiply'' is a reserved word, so the requirements must be relaxed to allow a different function name.
{{works with|OpenCOBOL}}
<lang COBOL> * Multiply in COBOL
Line 271 ⟶ 272:
EXIT PROGRAM.
END PROGRAM myMultiply.</lang>
=={{header|CoffeeScript}}==
<lang coffeescript>multiply = (a, b) -> a * b</lang>
|