Re: pretty_print bug
- Posted by Al Getz <Xaxo at aol.com> Jun 28, 2004
- 473 views
Brian: I posted a suggestion which seemed to get ignored that's all. Pete: I agree,,,and my solution isnt perfect either. I think this whole thing needs to be thought through a little better. Yeah, Eu's 'integer' of 31 bits is the real culprit again! I dont have a single app (out of hundreds now) that requires a 31 bit integer over a 32 bit integer. Long ago, i wrote a small language on a now old machine that used mostly 16 bit integers, and i was going to use 15 bit integers saving the 16th bit for testing. Floats and longer ints would set this bit to 0 so it would be fast to test for this type. I found out in the long run that it was a complete waste of a bit. Maybe it's time for Euphoria to move to 32 bit integers. Until then, i guess i'll make up my own misc.e file and call it miscX.e or something and include that instead of misc.e . I'll probably add more tests to the nest to determine the right way to print. Not sure what to do with PrettySeq.e yet though :) Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"