mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2004
Posts: 14
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2004
Posts: 14
I found out the hard way that $ini(filename,searchString,0) now returns $null instead of 0, it was easy to fix, but hard to find. My scripts weren't affected, as I always used if (!$ini(name.ini,search,0)) but the guy I was helping had used if ($ini(name.ini,search,0) == 0) in many places in his script, which ran just fine in all versions of Mirc he had tried it in (including 6.17) but wigged out in 6.2. I saw no mention of a change to the return value of $ini which is why I am posting here, just in case it is a bug and wasn't done intentionally.

Joined: Jul 2006
Posts: 53
O
Babel fish
Offline
Babel fish
O
Joined: Jul 2006
Posts: 53
changed in mIRC 6.17

151.Fixed $ini() returning 0 instead of $null for non-existent topics.

is this what you meant ?

Joined: Sep 2004
Posts: 14
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2004
Posts: 14
hmmm, must be, although, I thought I had tested on 6.17, now that I check, it was 6.16....


Link Copied to Clipboard