opcCreateExpression
opcCreateExpression( ?dataSources_dataSource?dataTypet_dataType[?conditionsl_conditions]) =>nil/ list
Description
Defines an expression to be used in Navigator custom queries.
Arguments
Value Returned
A SKILL list containing the data source and optionally the data type and list of conditions as elements.
Examples
Define an expression that can be used to retrieve iterated instances that are of size 2 and their name contains X.
expression = opcCreateExpression(?dataSource 'Instances ?conditions
list(opcCreateCondition(?attrName 'Bits ?opName "=" ?value "2") opcCreateCondition(?attrName 'Name ?opName "Contains" ?value "X")))
The returned value is ("Instances" "instance" (("Bits" "=" "2") ("Name" "Contains" "X"))) and can be used in defining queries.
Related Topics
Return to top