mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
As a result of a call to $regsubex(name,string,pattern,sub,&out), it's possible to get an empty string returned, in this case $regsubex does create the &out binvar, with nothing in it.

If you try to /bcopy from a binvar like that, which is created and $bvar(&out) is not $null, /bcopy reports an error, I think this is a bug and that it should naturally do nothing if there's nothing to copy, only if the binvar does not exist at all, aka $bvar(&out) is $null, /bcopy should report an error.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks for your bug report. This issue has been fixed for the next version.


Link Copied to Clipboard