1. Andy Serpa are you still around?
- Posted by don cole <doncole at pacbell.net> Jan 11, 2006
- 509 views
We found a slight bug in your nat_sort.e. Post something on the forum if you want to know about it. Don Cole Our Governor cut his lip in a motercycle accident (dam fool).
2. Re: Andy Serpa are you still around?
- Posted by Andy Serpa <ac at onehorseshy.com> Jan 12, 2006
- 469 views
- Last edited Jan 13, 2006
don cole wrote: > > > We found a slight bug in your nat_sort.e. > Post something on the forum if you want to know about it. > Oh yeah?
3. Re: Andy Serpa are you still around?
- Posted by don cole <doncole at pacbell.net> Jan 13, 2006
- 487 views
Andy Serpa wrote: > > don cole wrote: > > > > > > We found a slight bug in your nat_sort.e. > > Post something on the forum if you want to know about it. > > > > Oh yeah? Check it out what do you think? http://www.listfilter.com/EUforum/m5259.html Don Cole
4. Re: Andy Serpa are you still around?
- Posted by Andy Serpa <ac at onehorseshy.com> Jan 13, 2006
- 508 views
don cole wrote: > > Andy Serpa wrote: > > > > don cole wrote: > > > > > > > > > We found a slight bug in your nat_sort.e. > > > Post something on the forum if you want to know about it. > > > > > > > Oh yeah? > > Check it out what do you think? Ahh yes, in the nat_compare_str() routine, x1num & x2num should be declared as atoms. Looks like I changed it in my personal version but never fixed it. If declared as integers than long strings of numbers can cause integer overflow...
5. Re: Andy Serpa are you still around?
- Posted by Al Getz <Xaxo at aol.com> Jan 13, 2006
- 462 views
- Last edited Jan 14, 2006
Andy Serpa wrote: > > don cole wrote: > > > > Andy Serpa wrote: > > > > > > don cole wrote: > > > > > > > > > > > > We found a slight bug in your nat_sort.e. > > > > Post something on the forum if you want to know about it. > > > > > > > > > > Oh yeah? > > > > Check it out what do you think? > > > Ahh yes, in the nat_compare_str() routine, x1num & x2num should be declared > as atoms. Looks like I changed it in my personal version but never fixed it. > If declared as integers than long strings of numbers can cause integer > overflow... Hi there Andy, Could you also check to see that a long name such as: "123456789012345678901234567890.jpg" still works ok when you're done fixing it? When i want to check something like this with an unusual name i just create a text file in Win Explorer with whatever name i want to test with and then see how the program handles it when it is run. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
6. Re: Andy Serpa are you still around?
- Posted by Andy Serpa <ac at onehorseshy.com> Jan 13, 2006
- 458 views
- Last edited Jan 14, 2006
Al Getz wrote: > > Andy Serpa wrote: > > > > don cole wrote: > > > > > > Andy Serpa wrote: > > > > > > > > don cole wrote: > > > > > > > > > > > > > > > We found a slight bug in your nat_sort.e. > > > > > Post something on the forum if you want to know about it. > > > > > > > > > > > > > Oh yeah? > > > > > > Check it out what do you think? > > > > > > Ahh yes, in the nat_compare_str() routine, x1num & x2num should be declared > > as atoms. Looks like I changed it in my personal version but never fixed > > it. > > If declared as integers than long strings of numbers can cause integer > > overflow... > > Hi there Andy, > > > Could you also check to see that a long name such as: > "123456789012345678901234567890.jpg" > still works ok when you're done fixing it? > > When i want to check something like this with an unusual name > i just create a text file in Win Explorer with whatever name > i want to test with and then see how the program handles it > when it is run. > > I only changed one line -- declared as atoms instead of integers. So any long stream of digits that will successfully convert to an atom should work fine, meaning your filenames could be dozens of digits long. It had nothing to do with decimal points because it ignores them anyway.
7. Re: Andy Serpa are you still around?
- Posted by don cole <doncole at pacbell.net> Jan 13, 2006
- 483 views
- Last edited Jan 14, 2006
Andy Serpa wrote: > > Al Getz wrote: > > > > Andy Serpa wrote: > > > > > > don cole wrote: > > > > > > > > Andy Serpa wrote: > > > > > > > > > > don cole wrote: > > > > > > > > > > > > > > > > > > We found a slight bug in your nat_sort.e. > > > > > > Post something on the forum if you want to know about it. > > > > > > > > > > > > > > > > Oh yeah? > > > > > > > > Check it out what do you think? > > > > > > > > > Ahh yes, in the nat_compare_str() routine, x1num & x2num should be > > > declared > > > as atoms. Looks like I changed it in my personal version but never fixed > > > it. > > > If declared as integers than long strings of numbers can cause integer > > > overflow... > > > > Hi there Andy, > > > > > > Could you also check to see that a long name such as: > > "123456789012345678901234567890.jpg" > > still works ok when you're done fixing it? > > > > When i want to check something like this with an unusual name > > i just create a text file in Win Explorer with whatever name > > i want to test with and then see how the program handles it > > when it is run. > > > > > I only changed one line -- declared as atoms instead of integers. So any long > stream of digits that will successfully convert to an atom should work fine, > meaning your filenames could be dozens of digits long. It had nothing to do > with decimal points because it ignores them anyway. If you changed x1num, x2num from integers to atoms that would be 2 lines wouldn't it? The integer line and the atom line. Anyway thanks for fixing it Andy, Don Cole A Bug is an un-documented feature. A Feature is a documented Bug.