You need to log in to create posts and topics.
Re: FB Can't count!?
77,940 Posts
#1 · November 21, 1997, 5:21 am
Quote from Forum Archives on November 21, 1997, 5:21 amPosted by: pgrimont <pgrimont@...>
>Can someone please try this code for me. As the demo will show you, if
>BOTH of the passed vars exceed 100001 and 10001, then the calculations
>turn out incorrect!
>I thought the brackets might be causing the long to be clipped to a
>short, but in all cases the results are off by only 1 ??
>
>Jamin
>Jamin,
I tested your code and got only correct values. My FBII settings were
default variable = integer, optimize as integer. Nothing fancy.I have no clue for solving your problem.
Good luck.
Patrick
Posted by: pgrimont <pgrimont@...>
>Can someone please try this code for me. As the demo will show you, if
>BOTH of the passed vars exceed 100001 and 10001, then the calculations
>turn out incorrect!
>I thought the brackets might be causing the long to be clipped to a
>short, but in all cases the results are off by only 1 ??
>
>Jamin
>
>BOTH of the passed vars exceed 100001 and 10001, then the calculations
>turn out incorrect!
>I thought the brackets might be causing the long to be clipped to a
>short, but in all cases the results are off by only 1 ??
>
>Jamin
>
Jamin,
I tested your code and got only correct values. My FBII settings were
default variable = integer, optimize as integer. Nothing fancy.
I have no clue for solving your problem.
Good luck.
Patrick
Click for thumbs down.0Click for thumbs up.0