Function definition: Difference between revisions

Content added Content deleted
m (→‎{{header|Chipmunk Basic}}: Function defined as formula. An obsolete way - does not work properly with integer formal parameters (e.g. x%).)
Line 619: Line 619:
10 rem Function definition
10 rem Function definition


20 rem ** 1. Function defined as formula
20 rem ** 1. Function defined as formula. An obsolete way - does not work properly with integer formal parameters (e.g. x%).
30 def fnmultiply(a, b) = a * b
30 def fnmultiply(a, b) = a * b