Hi,

getchar/putchar (as the name is saying) are for read/write single char to
stdin/out

chr(i) eg. chr$(i) will return char from ASCII code - sth. like "itoa" or
"(char)i" in C, this has nothing to do with both above...

You will need one of the "input" functions in gambas to get similar
functionality in your gambas app. Some info on what you are trying to reach
will be helpfull...


kind regards


Emil


-----Ursprungliche Nachricht-----
Von: KhurramM [mailto:kms...@gmail.com]
Gesendet: Dienstag, 19. Mai 2009 09:24
An: gambas-user@lists.sourceforge.net
Betreff: [Gambas-user] C Code character manipulation - alternatives



Hi all!

I am still learning gambas.

I need a little help in character manipulation. I C there are functions:

getchar
putchar
fgetc
isdigit

Can these be implemented now in gambas. I failed to use the first two using
chr and chr$.

Thanks in advance for tips/ solution.
--
View this message in context:
http://www.nabble.com/C-Code-character-manipulation---alternatives-tp2361104
2p23611042.html
Sent from the gambas-user mailing list archive at Nabble.com.


----------------------------------------------------------------------------
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to