SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FileWrite Error

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
FileWrite Error
Author Message
Jim Malone



Joined: 23 Oct 2000
Posts: 23

Post FileWrite Error Reply with quote

I get an Error: Line 3, Error writing file.
What's wrong? using 3.4.9

Dim File_Handle, Boolean
FileOpen( "C:\\Temp\\BCCTemp.txt", "LineMode", "Write", True, File_Handle )
FileWrite( File_Handle, "Hello" )
FileClose( File_Handle )

Fri Jun 13, 2003 12:20 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: FileWrite Error Reply with quote

File handle is a number not a boolean value.

Please change first line in your code to
Dim File_Handle, number

: I get an Error: Line 3, Error writing file.
: What's wrong? using 3.4.9

: Dim File_Handle, Boolean
: FileOpen( "C:\\Temp\\BCCTemp.txt", "LineMode",
: "Write", True, File_Handle )
: FileWrite( File_Handle, "Hello" )
: FileClose( File_Handle )

Fri Jun 13, 2003 12:25 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.