Function definition: Difference between revisions

Line 557:
5) ERRE for C-64 admits only real with one parameter functions.
 
FUNCTION DIAGONALMULTIPLY(XA,Y,ZB)
DIAGONALMULTIPLY=SQR(XA*X+Y*Y+Z*Z)B
END FUNCTION
 
Usage:
 
IF MULTIPLY(A,B)>10 THEN ......
 
or
 
S=MULTIPLY(22,11)
 
=={{header|Euphoria}}==
Anonymous user