KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Using the Execute Command
PRODUCT: 4D | VERSION: 6.0 | PLATFORM: Mac & Win
Published On: June 1, 1999
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

As explained in the 4D documentation, the EXECUTE command enables you to execute “a 4D expression.” However, the following two limitations are very important: this expression must be contained in one line and the EXECUTE cannot execute a test containing keywords such as If, For, etc.

In other words, if a piece of code contains tests that need to be executed, they cannot be directly run by the EXECUTE command .

This technical note offers a set of seven methods that parse, analyze, and execute a 4D method containing tests and keywords that may be contained in a source.


Tech Note