Adde exemplum:
' int isprint(int c)
Private Extern isprint(num As Integer) As Integer In "libc:6"
Public Sub Main()
Dim s As String = "Gam\nbas"
Dim bb As Byte[]
bb = Byte[].FromString(s)
For Each s In bb
Print CBool(isprint(s))
Next
End
---
Hello Fabien,
I use function from C : int isprint(int c)
Its declaracion in Gambas obviously is:
Private Extern isprint(num As Integer) As Integer In "libc:6"
:-D
Example:
' int isprint(int c)
Private Extern isprint(num As Integer) As Integer In "libc:6"
Public Sub Main()
Print