Lasso Soft Inc. > Home

[Process]

[Process] processes its parameter as a document containing Lasso code. The string passed to [Process] must use normal Lasso delimiters like [ ... ] and 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 -Name parameter can be returned within the processed code usng the [Include_CurrentPath] tag and will be used for error reporting.

Warning: For maximum security, untrusted third-party Lasso code should never be executed on your server. Only code written by trusted developers should be executed.

  • Syntax
  • Parameters
[Process: 'Lasso Code']

[Process: '[Var(\'myVariable\')]']

[Process: '']

[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.
Examples

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')]
Tag Link [Process] Category Technical
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft