FIT   100
© Copyright University of Washington 1999-2000
Expressions as Parameters -- Caution
v
x = 10
Call squid(x+5)
Print x

Private Sub squid(y As Integer)
    y = 0
End Sub
If the actual parameter is an expression,  don’t assign to the formal parameter!  (Otherwise the result gets lost.)
BAD PROGRAM!!
Don’t do this!!