[Gambas-user] R: IsPunct
Ru Vuott
vuott at ...325...
Sat Jan 31 17:47:19 CET 2015
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 CBool(isprint(10)), CBool(isprint(70))
End
Bye
vuottttt
--------------------------------------------
Sab 31/1/15, Fabien Bodard <gambas.fr at ...626...> ha scritto:
Oggetto: [Gambas-user] IsPunct
A: gambas-user at lists.sourceforge.net
Data: Sabato 31 gennaio 2015, 17:29
IsPunct Tests if a string contains
only printable non-alphanumeric characters.
Is there a function that return if a string contain only
printable characters ?
--
Fabien Bodard
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel
Website,
sponsored by Intel and developed in partnership with
Slashdot Media, is your
hub for all things parallel software development, from
weekly thought
leadership blogs to news, videos, case studies, tutorials
and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list