comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Going outside the interger limits
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Going outside the interger limits [message #41083 is a reply to message #40958] Wed, 22 September 2004 09:55 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Lloyd Watkin" <lloyd@evilprofessor.co.uk> wrote in message news:c3f97ff.0409220637.380f5018@posting.google.com...
> In the end, it turned out that I was taking fix(a float) where as what
> I should of done is taken long(a float) as I knew I'd be going outside
> the limit.
>
> Typical!
>
> Thanks for all the help as usual,
>
> Lloyd Watkin

lol, i do this all the time (well i did until i outlawed the use of fix)
That and using "for i = 0, maxint-1 do begin"
instead of "for i = 0L, maxint-1 do begin"

They should change the name of fix() to areyousureyouwanttocasttoashort()

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: obtaining a structure's name
Next Topic: Using GCTP in IDL instead of MAP_SET

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 18:43:44 PDT 2025

Total time taken to generate the page: 1.83938 seconds