[Define_Prototype] installs a type instance into the tag map as a data type prototype. The tag requires two parameters: the name by which the prototype will be referenced (the tag name) and a reference to the data type that will be copied as the prototype.
This tag allows an instance to be set up with default values and then used again and again by calling the prototype name. Each time the prototype is called a new copy of the instance is created.
Note - If a -Namespace parameter is specified then it must appear betwen the name and the instance which defines the prototype.
[Define_Prototype: 'Name', Instance]
[Define_Prototype: 'Name', -Namespace='namespace_', Instance]
See the Lasso 8 Language Guide for examples of how to use this tag.
Tag Link | [Define_Prototype] | Category | Custom Tag |
---|---|---|---|
Type | Process | Data Source | Any |
Support | Preferred | Version | 8.0 |
Output Type | None | Security | None |
Implementation | Internal | Sets | Lasso 8.5, Lasso 8.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft