[Gambas-user] BUG at external abs function

Demosthenes Koptsis demosthenesk at gmail.com
Sun Jun 10 21:25:06 CEST 2018


Hello,

i have from libc the abs function in a module gbLibc as

'int abs (int number)
Public Extern {abs}(number As Integer) As Integer

in Main file i have

' Gambas module file

Public Sub Main()

Dim x As Integer = -1
Dim a As Integer
a = gbLibc.abs(x)
Print a

End

The bug concerns the auto complete system. when i type a=gbLibc. the 
help preview is wrong, missing the number parameter

Also when i hit to autocomplete the number parameter is missing

Although i can pass a parameter in abs and it works.

i attach the project with the bug


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbLibc.tar.gz
Type: application/gzip
Size: 30254 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180610/444c8fd5/attachment-0001.gz>


More information about the User mailing list