Lasso Soft Inc. > Home

[ file->setsize ]

Method

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

  • Syntax
File Variable->SetSize
Examples
  • Beginner

To set the size for a file:

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

Code

local(File = File('myfile.txt', File_OpenReadWrite, File_ModeChar))
#File->SetSize(640)

Recent Comments

No Comments found

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