Lasso Soft Inc. > Home

[File_Control] ... [/File_Control]

[File_Control] ... [/File_Control] a series of related file tags. Any files accessed within these container tags will not be unloaded until the closing container tag is reached.

The [File_CurrentError] tag only functions within the [File_Control] ... [/File_Control] tags.

It is important to use these container tags around any series of file tags that use the same file repeatedly. Otherwise, Lasso has to close and reopen the file after each [File_...] tag which can greatly reduce performance.

  • Syntax
  • Parameters
  ... File Tags ...

To perform a series of file tags on the same file:

Use the [File_Control] ... [/File_Control] tags to surround the file tags. The following example opens a file and reads several lines from it.

    Variable: 'One'=(File_ReadLine: '/myfile.txt', -FileLineNumber=1;
    Variable: 'Two'=(File_ReadLine: '/myfile.txt', -FileLineNumber=2;
    Variable: 'Four'=(File_ReadLine: '/myfile.txt', -FileLineNumber=4;
Tag Link [File_Control] ... [/File_Control] Category File
Type Container Data Source Any
Support Preferred Version 3.0
Output Type None Security Tag,File
Implementation Sets Lasso 5.0,LDML3x

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