[DUG] integer or int64
Rohit Gupta
rohit at cfl.co.nz
Thu Sep 23 12:19:08 NZST 2010
I havent succeeded in doing that. I find it very frustrating that the
overload stuff does not distinguish between integer and int64. It
doesnt work for float and datetime either. I have ended up having
prefixes for the data type.
On 21/09/2010 11:08, John Bird wrote:
> Quite a few built in Delphi functions accept either integer or int64 as an
> argument, I checked into inttostr for instance, in that case its asm code.
>
> I have quite a few standard number processing routines, and up to now have
> done one version for integer, and another for int64.
>
> Is it feasible to have an argument/parameter to a function that can be
> either (like Delphi does)?
>
> is it possible to test whether such an argument is either integer or int64?
>
> Related - Does anyone know if an int128 is on the cards down the track? (I
> have some functions that use numbers nearly up to int64 limit - 17 of the 18
> digits decimal length)
>
>
>
> John
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5465 (20100920) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
--
Regards
*Rohit Gupta*
B.E. Elec., M.E., Mem IEEE, Member IET
Technical Manager
Computer Fanatics Ltd
*Tel *4892280
*Fax *4892290
*Web *www.cfl.co.nz
------------------------------------------------------------------------
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you
are not the intended recipient, you must not use, distribute or copy
this email or attachments. If you have received this in error, please
notify us immediately by return email and then delete this email and any
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100923/1d534a47/attachment.html
More information about the Delphi
mailing list