Statements that do not belong to any of the other categories are described here.
Transfers the control of the program to a subroutine, a function, or a DLL procedure.
Returns a selected value from a list of arguments.
Declares and defines a subroutine in a DLL file that you want to execute from LibreOffice Basic.
Ends a procedure or block.
Exits a Do...Loop, For...Next, a function, or a subroutine.
Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: Declare
Defines a subroutine that can be used as an expression to determine a return type.
Specifies that a program line is a comment.
Stops the execution of the Basic program.
Evaluates a list of arguments, consisting of an expression followed by a value. The Switch function returns a value that is associated with the expression that is passed by this function.
Sets an object as the default object. Unless another object name is declared, all properties and methods refer to the default object until the End With statement is reached.