Tag Link | [Tag->asType] | Category | Tags |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | Any | Security | Tag |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
The [Tag->asType] tag can be used to execute a tag or compound expression which returns a new data type instance. Calling this tag is equivalent to calling a data type creator tag directly.
[Tags->(Find: 'tagname')->(AsType)]
[Array->(Properties->Second->(Find: 'tagname')->(AsType)]
[{ Return: 'Value' }->(AsType)]
[Variable: 'myExpression' = { Return: 'Value' }]
[Output: $myExpression->(AsType)]
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.