其他陳述式

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 中的某個函式,則該 DLL 會自動重新載入。另請參閱:Declare

Function Statement

定義可以用作表示式的子常式,以確定傳回類型。

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.

Please support us!