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)
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
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.
---
ssage ---
From: Doriano Blengino
To: mailing list for gambas users
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 proposed a single package of
> >
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
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"
>
> 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
> architectur
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
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.
---
-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 i
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.
This is a super feature of Gambas versus C, which puts garbage values into
variables of any type.
Correc
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 character
The code below works a okay on a console, after I make its exe file.
Currently, I am solcving my C programs into Gambas, in terminal mode only.
Next I will try these in gui. Currently it is my first experience in gui,
but I like basic more than C/C++/Java. It is the first language I started to
le
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
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 progr
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
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
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 T
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.
*
tions 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
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 c
21 matches
Mail list logo