LassoScript Utility
Basics Browse Detail


Tag Link [File->SetSize] Category File
Type Member Source Available Yes
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security File
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0


Sets the size of the file. Requires an interger parameter that specifies the size of the file (in bytes).


[File Variable->SetSize]


Required Parameters
Integer Specifies the size of the file in bytes.


To set the size for a file:

Use the [File->SetSize] on a defined file variable.

[Var:'File'=(File: 'myfile.txt', File_OpenReadWrite, File_ModeChar)]
[$File->(SetSize: 640)]