mIRC Home    About    Download    Register    News    Help

Print Thread
error line number when using $& #237877 10/06/12 08:33 AM
Joined: Jul 2006
Posts: 3,740
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,740
When mIRC reports an error from a command where $& is used, the number of the line displayed is the line number where the command "finishes", it should be the line number where the command starts imo:

Code:
1|  alias name {
2|  drawcopy ... $&
3|  .... $&
4|  ....
5|  }
mIRC would report an error on line 4 instead of 2 for that drawcopy command, a problem similar to this problem I guess

Last edited by Wims; 10/06/12 08:40 AM.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: error line number when using $& [Re: Wims] #237879 10/06/12 09:08 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Indeed, this is probably not just *related*, but the exact same bug as
http://forums.mirc.com/ubbthreads.php?ubb=showflat&Board=8&Number=235625


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"