1. BUG: Wrong err msg format

In 'execute.e' the lines 885, and 902 read ..

sprintf("subscript value %s is out of bounds, reading from a sequence of length
%ld",

but I think should be ...

sprintf("subscript value %d is out of bounds, reading from a sequence of length
%ld",

-- 
Derek Parnell
Melbourne, Australia

new topic     » topic index » view message » categorize

2. Re: BUG: Wrong err msg format

Derek Parnell wrote:
> 
> In 'execute.e' the lines 885, and 902 read ..
> 
> sprintf("subscript value %s is out of bounds, reading from a sequence of
> length %ld",
> 
> but I think should be ...
> 
> sprintf("subscript value %d is out of bounds, reading from a sequence of
> length %ld",
> 

Ooops! Actually it should read ...

sprintf("subscript value %d is out of bounds, reading from a sequence of length
%d",

-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view message » categorize

3. Re: BUG: Wrong err msg format

Derek Parnell wrote:
> 
> Derek Parnell wrote:
> > 
> > In 'execute.e' the lines 885, and 902 read ..
> > 
> > sprintf("subscript value %s is out of bounds, reading from a sequence of
> > length %ld",
> > 
> > but I think should be ...
> > 
> > sprintf("subscript value %d is out of bounds, reading from a sequence of
> > length %ld",
> > 
> 
> Ooops! Actually it should read ...
> 
> sprintf("subscript value %d is out of bounds, reading from a sequence of
> length %d",

Thanks. I'll correct that.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: BUG: Wrong err msg format

Derek Parnell wrote:
> 
> Derek Parnell wrote:
> > 
> > In 'execute.e' the lines 885, and 902 read ..
> > 
> > sprintf("subscript value %s is out of bounds, reading from a sequence of
> > length %ld",
> > 
> > but I think should be ...
> > 
> > sprintf("subscript value %d is out of bounds, reading from a sequence of
> > length %ld",
> > 
> 
> Ooops! Actually it should read ...
> 
> sprintf("subscript value %d is out of bounds, reading from a sequence of
> length %d",
> 

That seems correct.

Anyway, wouldn't it be good if one get info on what sequence that error
occured in and what level of subscripting it happened at?

It would simplify debugging in some situations quite a lot.

Regards, Alexander Toresson

Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu