www.lucersoft.com

   
       Home  |   News  |   Downloads  |   Order  |   Contacts

 

 

Main

Home

Site map

Products

LC Backup

LC Copier

HTML Batch Editor

HTML Batch Editor PRO

Tennis 2001

Freeware

Documentation

HTML Batch Editor PRO

LC Basic

Information

Order

Update Policy

Support

Contacts

Links

 
 
 
 

 
 
 
 
 
 
 
 
 

Put

File IO functions


Syntax

 

result = Put (NumberOfFile, Value)


Description:

 

Writes an one byte to the file.


Arguments:

 

NumberOfFile - A number of the file to which a byte will be written. 

Value - A byte to be written.


Examples:

In this example a value '5' will be written to a file.

res = OpenFile(1,"D:\\file.txt","w")

if (res)
   val = 5
   Put (1,val)
   CloseFile(1)
EndIf

 

 

Return value:

 

If the function succeeds, the return value is True. If the function fails, the return value is False


See also:

 

Write, Read


A Read function is included in the lcbase.dll

 
Last updated: November 2, 2003
Copyright © 2002 Lucersoft

Add to favorites

Back