Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread Doriano Blengino
nando ha scritto: Technically, C doesn't 'put' garbage values into variables. Those values just happen to be there if you don't set it to something. Gambas wonderfully sets numeric variables to zero. You can think of it as NULL, I suppose, but ZERO is a numeric description dealing with

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread Benoît Minisini
In some message some day ago, KhurramM proposed a single package of gambas for linux, and someone else replied that a source distribution is the more practical one. It is true - sadly. I think this situation is bad - remember, Unix means unique, one for all. As long as the architecture does

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread Doriano Blengino
Benoît Minisini ha scritto: In some message some day ago, KhurramM proposed a single package of gambas for linux, and someone else replied that a source distribution is the more practical one. It is true - sadly. I think this situation is bad - remember, Unix means unique, one for all. As long

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread KhurramM
Thanks a lot : Doriano Blengino and Benoît Minisini :handshake: It was really informative for me. :working: I just had a little curiosity in my mind. Its not related to Gambas directly. I do not have that much programming depth. But anyhow (now its off-topic) :thinking: IS it possible that

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread nando
--- From: Doriano Blengino doriano.bleng...@fastwebnet.it To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Sat, 23 May 2009 20:13:05 +0200 Subject: Re: [Gambas-user] C Code character manipulation - alternatives Benoît Minisini ha scritto: In some message some day ago, KhurramM

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread KhurramM
TO: nando-7 where did I mention I need drawing/ drafting tools? -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23687610.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread Doriano Blengino
nando ha scritto: If you're looking for something CAD OpenOffice comes with Draw which is very similar to Corel in many ways. I use it to make PC Boards and drawings/etc. It works very well!! You might not have a link to it, so at the text prompt, type oodraw -Fernando Thanks for your

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-23 Thread Doriano Blengino
KhurramM ha scritto: Thanks a lot : Doriano Blengino and Benoît Minisini :handshake: It was really informative for me. :working: I just had a little curiosity in my mind. Its not related to Gambas directly. I do not have that much programming depth. But anyhow (now its off-topic)

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-22 Thread KhurramM
I made a little bluder, my code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM count AS Integer ' The values are initialized at Zero, by above command DIM c AS String ' READ , PRINT , AND count characters. PRINT Enter

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-22 Thread nando
-0700 (PDT) Subject: Re: [Gambas-user] C Code character manipulation - alternatives TO: Ron_1st Either I am wrong or u r: DIM k, countVar AS Integer PRINT k, countVar The output of these lines is: 0 0 How come u say that both integers are initialized to NULL

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-22 Thread KhurramM
Thanks for all the cooperation for this mini coding of mines. :handshake: Best Regards -- View this message in context: http://www.nabble.com/C-Code-character-manipulation---alternatives-tp23611042p23681537.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-21 Thread Doriano Blengino
KhurramM ha scritto: Thanks Sir. You have given me tips better then the book I am following on C. :working: My two queries: 1 Can I implement ctrl+D or ^D, which I am not able to here, as in C? 2 The program works with INPUT and LINE INPUT. But Line Input also takes blank space as input,

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-20 Thread KhurramM
I am converting the at the end C code to gambas code. But I seem to be getting nowhere, currently. I am trying. Hope u guide me thru this. ' Gambas module file ' This program demonstrates the relationship ' between a text stream AND character I / O by ' reading characters FROM the keyboard AND

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-20 Thread KhurramM
The Code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer ' The values are initialized at Zero, by above command DIM c1 AS String ' READ , PRINT , AND count characters. PRINT Enter characters (Press Carriage Return Twice to quit): LINE

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-20 Thread Doriano Blengino
KhurramM ha scritto: The Code: PUBLIC SUB Main() ' Declare AND initialize variables. DIM c, count AS Integer ' The values are initialized at Zero, by above command DIM c1 AS String ' READ , PRINT , AND count characters. PRINT Enter characters (Press Carriage

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-20 Thread KhurramM
Thanks Sir. You have given me tips better then the book I am following on C. :working: My two queries: 1 Can I implement ctrl+D or ^D, which I am not able to here, as in C? 2 The program works with INPUT and LINE INPUT. But Line Input also takes blank space as input, while INPUT ends the

[Gambas-user] C Code character manipulation - alternatives

2009-05-19 Thread KhurramM
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

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-19 Thread Emil Tchekov
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

Re: [Gambas-user] C Code character manipulation - alternatives

2009-05-19 Thread Sergio A. Hernandez
String Functions in Gambas see http://gambas.sourceforge.net/ for detailed info about them. * *Asc* Returns the ASCII code of a character in a string. * *Chr$* Returns a character from its ASCII code. * *Comp* Compares two strings. * *InStr* Searches a string into another string. *