[Gambas-user] Format$ for BigInt

Gianluigi bagonergi at gmail.com
Wed Aug 8 19:48:41 CEST 2018


2018-08-08 19:43 GMT+02:00 Tobias Boege <taboege at gmail.com>:

> On Wed, 08 Aug 2018, T Lee Davidson wrote:
> > I'm confused. What would a BigInt be? Do you mean Integer as opposed to
> Short?
> >
>
> It's a class in gb.gmp. And the fact that it comes from a non-core
> component
> makes it a hairy decision if Format$() should support it. I won't say that
> it's impossible to do, but adding a Format *method* to the BigInt class
> that
> behaves like the Format$() builtin would certainly be the cleaner way.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
>
Yes Tobias,
I think our friend meant what you suggest.

Regards
Gianluigi


> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180808/a0756fe9/attachment.html>


More information about the User mailing list