There is a limit of 100,000,000 on the integers you can use. You've got
7,904,827,159 (threw the coma's in so you could see the difference a little
easier to see). So just decrease your second integer by 7 billion, 804
million, 827 thousand, 159. Then you should be okay. :)
Fred
----- Original Message -----
From: "Mike Connolly" <[EMAIL PROTECTED]>
To: "'CF-Talk'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 02, 2000 5:45 AM
Subject: RandRange Error in CF 4.5 Pro.
> Help.
>
> The following code is included in the source code for AbleCommerce, which
> works fine on CF 4.01...
>
> <CFSET NST2 = Int(((Now()-Int(Now())+RandRange(75634586,7904827159))))>
>
> .... but in CF4.5 Pro this code generates this error....
>
> Parameter 2 of RandRange which is now "7904827159" must be an integer
>
> Is this a bug in CF 4.5 Pro? Can anyone help,
>
> Thanks
>
> Mike
>
>
>
>
> -----------------------------------------------
> Any opinions expressed in this message are those of the individual and not
necessarily the company. This message and any files transmitted with it are
confidential and solely for the use of the intended recipient. If you are
not the intended recipient or the person responsible for delivering to the
intended recipient, be advised that you have received this message in error
and that any use is strictly prohibited.
>
> Sapphire Technologies Ltd
> http://www.sapphire.net
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.