|
|
|
|
- Properties specific to WLanguageCodeCompiling variables
WLanguageCodeCompiling (Variable type) In french: CodeWLangageCompilation
The WLanguageCodeCompiling type is used to define all the compiler options used by the Compile, ExecuteCode and EvaluateExpression functions, as well as by the Code Editor control (via the Compiler property). You can define and change the characteristics of these parameters using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. CompilerOptions is WLanguageCodeCompiling
CompilerOptions.DefaultFunctions = AllFunctions
CompilerOptions.ForbiddenFunctions = "fDelete"
CODEEDT_MyControl.Compiler.DefaultFunctions = AllFunctions
CODEEDT_MyControl.Compiler.ForbiddenFunctions = "fDelete"
MySourceCode is string = [
PROCEDURE AddXandY(aa, bb)
RETURN aa + bb
]
MyProc is procedure = Compile(MySourceCode, CompilerOptions)
Trace(MyProc(2, 3))
Properties Properties specific to WLanguageCodeCompiling variables The following properties can be used to handle WLanguageCodeCompiling variables: | | | Property name | Type used | Effect |
---|
AllowedFunctions | Character string | List of allowed functions, separated by CR, commas or semicolons. Example: Remarks: - Specify functions using the standard syntax only. The associated prefix syntax will be automatically taken into account.
- Functions can be in English or French: both languages will automatically be taken into account.
| DefaultFunctions | Integer constant | Specifies the functions available by default:- AllFunctions: All WLanguage functions are available by default. You can disallow certain functions using the ForbiddenFunctions property.
- NoFunction: No function available by default. You can allow certain functions using the AllowedFunctions property.
| ForbiddenFunctions | Character string | List of disallowed functions, separated by CR, commas or semicolons. Example: Remarks: - Specify functions using the standard syntax only. The associated prefix syntax will be automatically taken into account.
- Functions can be in English or French: both languages will automatically be taken into account.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|