目录

# 其他语句

不在任何其他类别中涉及到的语句会在这里进行介绍。

## 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 语句

声明和定义要通过 LibreOffice Basic 执行的 DLL 文件中的子例行程序。

## End 语句

结束过程或语句块。

## Exit 语句

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

## FreeLibrary 函数

释放由 Declare 语句加载的 DLL。如果再次调用已释放 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 语句

指定将某个程序行作为注释。

## Stop 语句

停止执行 Basic 程序。

## Sub Statement

定义子例程。

## Switch Function

对自变量列表进行求值。自变量列表由表达式和表达式后面的值组成。Switch 函数返回一个与该函数传送的表达式相关的值。

## With 语句

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.