mIRC Home    About    Download    Register    News    Help

Print Thread
#75366 15/03/04 07:42 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline OP
Hoopy frood
OP Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
If you try to /comopen an invalid ProgID or to /sockopen an invalid target, mIRC will automatically close the connection, leaving $comerr or $sockerr with a positive value so you can know that an error occured. But if /fopen fails and $ferr holds 1, the 'name' is still in use although you can't use it.

What I'm suggesting is that to keep the consistency, mIRC will automatically /fclose unsuccessful attempts to open a file.

#75367 15/03/04 09:01 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
yeah, nice idea


New username: hixxy

Link Copied to Clipboard