[Gambas-user] abs as external function

Demosthenes Koptsis demosthenesk at gmail.com
Sun Jun 10 21:52:22 CEST 2018


just for compatibility of porting libc

there are int abs, long abs, single abs, float abs

Gambas abs is only for floats

not great function but it gave us the bug to autocomplete system!


On 06/10/2018 10:30 PM, Jussi Lahtinen wrote:
> Yes, but why bother? Gambas already has abs().
>
>
> Jussi
>
> On Sun, Jun 10, 2018 at 10:09 PM, Demosthenes Koptsis 
> <demosthenesk at gmail.com <mailto:demosthenesk at gmail.com>> wrote:
>
>     is this correct?
>
>     'int abs (int number)
>     Public Extern {abs}(number As Integer) As Integer
>
>
>     ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>     ]----
>
>
>
>
> ----[ 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/20180610/ca1333e7/attachment.html>


More information about the User mailing list