The Results function produces a result. A result chains all the text building blocks into a document, under respect of rules of the text building blocks.
Syntax | ||||
Results(Resultname, [LanguageID], [Recurse], [Alternatives]) | ||||
Return value | ||||
Type |
Description | |||
Variant |
| |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Resultname |
String |
ByVal |
Name of the result as specified in the properties of the knowledge base |
Optional |
LanguageID |
String |
ByVal |
Language ID of the result. if this is not specified, the result is generated for all languages and can be passed to a multilingual variable |
Optional |
Recurse |
Boolean |
ByVal |
If the switch is set, the result is generated across all child objects. |
Optional |
Alternatives |
enumResultAlternatives |
|
Type of result generation taking into account alternatives. The default setting is NoChanging |
enumResultAlternatives |
Description |
NoChanging |
The state of the alternatives is not changed in the production of results. This means that the alternatives set by the user are left as if the result were printed as if no alternatives existed. |
OnlyAlternatives |
Only the alternatives are printed. The object tree is switched to this effect. |
OnlyStandard |
Only the default is printed The object tree is switched to this effect. |
StandardAndAlternatives |
Standard and all alternatives are printed. The object tree is switched to this effect. |