Tag Link | [Process] | Category | Technical |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | Tag |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
Lasso 3 Equivalent | [Lasso_Process] |
[Process] processes its parameter as a document containing Lasso code. The string passed to [Process] must use normal Lasso delimiters like [ ... ] and <?LassoScript ... ?> around embedded Lasso code. All of the surrounding text will be returned along with the results of the processed code.
The [Process] tag expects its parameter to be a Unicode string. Passing in text encoded in a character set such as ISO-8859-1 may cause unexpected results.
The
Warning: For maximum security, untrusted third
[Process: 'Lasso Code']
[Process: '[Var(\'myVariable\')]']
[Process: '<?LassoScript ... ?>']
[Process: (Include_Raw: 'myfile.lasso')]
Required Parameters | |
---|---|
LDML Code | LDML code which is to be executed. The results of processing the LDML code are returned. |
Optional Parameters | |
-Name | An optional name for the script. This name will be reported in any error messages that are generated by the code being processed. |
To process LDML code contained within a database field:
Use the [Process] tag. The following example would process LDML code contained in the field Code.
[Process: (Field: 'Code')]