Call Instruction

Syntax              Call name[(arglist)]
-or-
name [arglist]

Group                Flow Control

Description       Evaluate the arglist and call subroutine (or function) name with those values. Sub (or function) name must be previously defined by either a Sub, Function or Property definition. If name is a function then the result is discarded. If Call is omitted and name is a subroutine then the arglist must not be enclosed in parens.

See Also            Declare, Sub.

Example            '#Language "WWB-COM"
Sub Show(Title$,Value)
    Debug.Print Title$; "="; Value
EndSub

Sub Main
    Call Show("2000/9",2000/9) ' 222.2222222222
    Show "1<2",1<2             'True
End Sub