EXECUTE

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 3

Note: You will rarely need to use this command.


EXECUTE (statement)

ParameterTypeDescription
statementStringCode to be executed

Description

EXECUTE executes statement as a line of code. The statement string must be one line. If statement is an empty string, EXECUTE does nothing.

The rule of thumb is that if the statement can be executed as a one line method, then it will execute properly.

In a compiled database, the line of code is not compiled. This means that statement will be executed, but it will not have been checked by the compiler at compilation time.

Use EXECUTE sparingly, as it slows down execution speed.

The statement can be in the following:

a Call to a project method

a Call to a 4D command

an Assignment

The statement can include process variables and interprocess variables. The statement cannot contain control of flow statements, because it must be in one line of code.

Example

See examples for the Command Name command.


See Also

Command name, EDIT FORMULA.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next