Home
About
Download
Register
News
Help
Register
Log In
Forums
Bug Reports
Bug in the new file handling stuff
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Bug in the new file handling stuff
#
44860
29/08/03
10:31 PM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
OP
Hoopy frood
OP
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
/fopen [-n] <name> <filename>
Opens the specified file and assigns a name to it for later reference. The -n switch creates the file if it doesn't already exist.
I type
/fopen test sdhskjh.txt
and then sdhskjh.txt appears in my mIRC folder.
Unless I'm misreading that, it should only create the file if I specify -n.
Copy Link to Clipboard
Re: Bug in the new file handling stuff
#
44861
29/08/03
11:11 PM
Joined:
Feb 2003
Posts: 307
Portugal
T
tontito
Fjord artisan
tontito
Fjord artisan
T
Joined:
Feb 2003
Posts: 307
Portugal
you are right.
do you get any $feof and $ferr values?
Copy Link to Clipboard
Re: Bug in the new file handling stuff
#
44862
30/08/03
12:43 AM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
OP
Hoopy frood
OP
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
both are 0
Copy Link to Clipboard
Re: Bug in the new file handling stuff
#
44863
30/08/03
06:28 AM
Joined:
Aug 2003
Posts: 72
V
visionz
Babel fish
visionz
Babel fish
V
Joined:
Aug 2003
Posts: 72
$ferr returns 1 if there is an error opening the file, ie: file is already in use, file is 'read-only', (maybe if file doesn't exists, but can't test it since there is a bug
)
$feof return 1 if filepointer have reached the end of file..
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage