Obsolete. Use CompileScriptForTesting instead.
Attempt to Compile the Script Code.

Theoretically, a Script can manipulate any User Interface or Reports layer that is passed to it but by default these objects are expected to be of types ISUserInterfaceBL and ISfinReports.

Syntax

finDecisionCard.CompileForTesting(compileErrors, codeResolved, [userInterface], [reports], [hasWarnings])

Parameters

NameTypeOptionalByRefDescription
compileErrors CompilerErrorCollection ByRef A collection of Compiler Errors.
codeResolved String ByRef A modified version of the Script Code that was compiled or attempted to be compiled. Note that any Encrypted Script code will have been removed and a blank line inserted in its place.
userInterface Object Optional The User Interface layer if one is being used. If omitted, a value of Nothing is assumed.
reports Object Optional The Reports layer if one is being used. If omitted, a value of Nothing is assumed.
hasWarnings Boolean Optional ByRef True if the compiler gave warnings. Excludes variable used before allocated warnings. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value.

Member of:
finDecisionCard
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0