ML48g‖Further Statements

qFvDF‖Statements that do not belong to any of the other categories are described here.

ynyEA‖Call Statement

FdEBA‖Transfers the control of the program to a subroutine, a function, or a procedure of a Dynamic Link Library (DLL). The keyword, type and number of parameters is dependent on the routine that is being called.

acMxU‖Choose Function

mSQHZ‖Returns a selected value from a list of arguments.

9FWFc‖Declare Statement

doBTG‖Declares and defines a subroutine in a DLL file that you want to execute from LibreOfficeDev Basic.

2XaKk‖End Statement

s5S7Q‖Ends a procedure or block.

nZPqc‖Exit Statement

Kmb47‖Exits a Do...Loop, For...Next, a function, a property, or a subroutine.

emy4u‖FreeLibrary Function

r8bFB‖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

kny6X‖Function Statement

i3BLj‖A function is a block of code which runs when it is called. A function is usually called in an expression.

fLBaF‖You can pass data, known as parameters or arguments, into a function. You may pass a parameter by value or by reference. When by reference, modifications applied to the parameter in the function will be sent back to the calling code.

9wMCM‖A function usually returns data as a result.

Jha5e‖Rem Statement

2fJEm‖Specifies that a program line is a comment.

WPPbc‖Stop Statement

mFJE4‖Stops the execution of the Basic program.

eRCuT‖Sub Statement

YELg8‖Defines a subroutine.

s4MEf‖Switch Function

yBnoz‖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.

QCp6n‖With Statement

3GcPs‖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.