Call

From Xojo Documentation

Language Keyword

Enables you to call a function without handling the value returned by the function.

Usage

Call functionName

Part Description
functionName Any function.

Notes

Use the Call statement only when you want to call a function without using the value that it returns. This enables you to have the function perform its job without declaring an extra local variable to store the function's result.

Sample Code

The following calls the SelectColor function without using its (Boolean) result.

Var c As Color = &cff0000 // choose the default color shown in color picker
Call SelectColor(c, "Select a Color")

See Also

Function statement.