その他のステートメント

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

Call Statement

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.

Choose Function

引数のリストの中から、指定された値を返します。

Declare Statement

LibreOffice Basicから実行するDLLファイル内のサブルーチンの宣言と定義を行います。

End Statement

プロシージャーやブロックの終了を宣言します。

Exit Statement

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

FreeLibrary Function

Declare ステートメントで読み込んだ DLL を解放します。解放後の DLL は、その中の関数が呼び出された場合、自動的に再読み込みされます。次も参照してください:Declare

Function Statement

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

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.

A function usually returns data as a result.

Rem Statement

プログラム行中のコメント文を指定します。

Stop Statement

Basicプログラムの実行を停止させます。

Sub Statement

サブルーチンを定義します。

Switch Function

表式と値のペアを引数として、これら引数のリストを対象とした判定処理を行います。Switch 関数は、与えられた表式がどの引数に該当するかを判定して、対応する値を返します。

With Statement

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.

ご支援をお願いします!