mIRC Home    About    Download    Register    News    Help

Print Thread
I
IAmParadox
IAmParadox
I
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.

O
oblivious
oblivious
O
changed in mIRC 6.17

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

is this what you meant ?

I
IAmParadox
IAmParadox
I
hmmm, must be, although, I thought I had tested on 6.17, now that I check, it was 6.16....


Link Copied to Clipboard