mIRC Home    About    Download    Register    News    Help

Print Thread
#225561 05/09/10 12:19 AM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
Hello

I think i found a problem with bset on windows xp x64

/bset &var 1 /

//echo size $bvar(&var,0)
result will be 2 instead of 1

I can't replicate this on any other OS version

tontito #225571 05/09/10 05:12 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
/bset without -t takes ASCII values, not text. This is explicitly documented in the help, and the behaviour that occurs when disregarding the documentation is undefined, so it's not really a bug.

Use /bset -t &var 1 /


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #225581 05/09/10 11:59 AM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
Hello,

And what i needed is the asc value of it in the bvar.
The problem is that, after that asc value it had some square char.

I regret not to see it's asc value, because now i can't replicate the problem anymore.
The most strange thing is that i restarted mirc several times and test with older mirc version...

If i catch the problem again i will try to debug it better.

Regards


Link Copied to Clipboard