Enable JavaScript in the browser to display LibreOffice Help pages.
运行时函数
This section describes the Runtime Functions of LibreOffice Basic.
以下语句和函数将用到变量。您可以使用这些函数来声明或定义变量,转换变量类型,或者确定变量类型。
LibreOffice Basic 支持以下逻辑运算符。
Comparison operators compare two expressions. The result is returned as a boolean expression that determines if the comparison is True (-1) or False (0).
LibreOffice Basic 支持以下数学运算符。
下面介绍用于执行计算的数字函数。数学运算符和布尔运算符将在单独的一节中介绍。函数与运算符不同,函数通过传送自变量来返回结果,而运算符是通过组合两个数字表达式来返回结果的。
本节介绍通过调用对话框来处理用户条目的输入和输出的运行时函数。
使用文件 I/O 函数可以创建并管理自定义的 (数据) 文件。
Use the following statements and functions to define the way LibreOffice Basic reacts to run-time errors.