Contents

# Optional (in Function Statement)

Allows you to define parameters that are passed to a function as optional.

Skatiet arī: IsMissing

## Sintakse:

    Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)

## Piemēri:

        Result = MyFunction("Here", 1, "There") ' all arguments are passed.
        Result = MyFunction("Test", ,1) ' second argument is missing.

Skatiet arī Piemēri.

Please support us!