RosettaCodeData/Task/Function-definition/True-BASIC/function-definition.basic

10 lines
158 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
FUNCTION multiply(a, b)
LET multiply = a * b
END FUNCTION
!
! Alternatively, it can be expressed in abbreviated form :
!
DEF multiply (a, b) = a * b
END