Call command

Purpose

Transfers control to a Sub, Procedure, Function, or DLL procedure.

Syntax

[Call] subroutine [paramlist]

Description

You are not required to use the Call keyword when calling a procedure. The parameters in the paramlist may be enclosed in parentheses.

Example

Global a$

a$ = "GFA"

Call test_it(a$)

Do

Sleep

Until Me Is Nothing

 

Sub test_it(a$)

OpenW 1

Text 10, 10, "Hallo " + a$

EndSub

See Also

@

{Created by Sjouke Hamstra; Last updated: 24/09/2014 by James Gaite}