Mais instruções

As instruções que não pertencem a uma das outras categorias são descritas aqui.

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

Devolve um valor selecionado de uma lista de valores.

Instrução Declare

Declara e define uma sub-rotina numa DLL que pretenda executar a partir do LibreOffice Basic.

Instrução End

Termina um procedimento ou um bloco.

Instrução Exit

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

Função FreeLibrary

Lança DLLs carregados por uma instrução Declare. Uma DLL lançada é automaticamente recarregada se uma das suas funções for chamada. Consulte também: 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.

Instrução Rem

Especifica que uma linha do programa é um comentário.

Instrução Stop

Interrompe a execução do programa Basic.

Sub Statement

Define uma sub-rotina.

Switch Function

Calcula uma lista de valores, que consiste numa expressão seguida de um valor. A função Switch devolve um valor associado à expressão transferida por esta função.

Instrução 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.

Necessitamos da sua ajuda!