Keyword

# Call

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Enables you to <span class="title-ref">Call</span> a function without handling the value returned by the function.

## Usage

``` xojo
Call functionName
```

| Part         | Description   |
|--------------|---------------|
| functionName | Any function. |

## Notes

Use the <span class="title-ref">Call</span> statement only when you want to <span class="title-ref">Call</span> 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 `Color.SelectedFromDialog<color.selectedfromdialog>` function without using its (`Boolean</api/data_types/boolean>`) result.

``` xojo
Var c As Color = &cff0000 ' choose the default color shown in color picker
Call Color.SelectedFromDialog(c, "Select a Color")
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`Function</api/language/function>` statement.

</div>
