Re: Hello
- Posted by petelomax at blueyonder.co.uk Jan 04, 2002
- 558 views
On Thu, 3 Jan 2002 15:21:52 +0000, you wrote: <snip> >> I notice there is no float() function. >> Am I right in assuming that is the only distinction between the atom() >> and integer() functions? I tested it and it seems to be true. <snipo> > You can create your own float types by doing this: > >global >type float( atom data ) > return ( data >= -3.4E38 and data <= 3.4E38 ) >end type >-- >global >type double( atom data ) > return ( data >= -1.7E308 and data <= 1.7E308 ) >end type <snipoo> Many thanks, informative but unfortunately not quite what I meant: I shud'a ritten " *only* difference" which was the intrigue I had ;) Pete - I assume the values for float are entirely of your own making and possibly from C or somesuch's ideas of float. (double==refman)