i am not the person that should answer but i will as i understood well
as possible the concept of Gambas ..
i think Gambas concept is to keep a Basic style language as possible
can. So an % operator is a foreign word for a Basic language.
>From the other hand it would be nice Gambas to be a bette
in another hand i don't understand the existance of the DIV
operator :/ ... if DIV exist why not ADD/MINUS/MULT ?
so ... i'm agree with user ... why not add the % synonymous ?
this is not consistent
2010/11/9 user :
> This question was created to me when i saw the MOD function in
> arithmet
This question was created to me when i saw the MOD function in
arithmetic operators without a an operator as the DIV has one.
http://gambasdoc.org/help/cat/arithop
On Mon, 2010-11-08 at 20:02 +0100, Benoît Minisini wrote:
> > I know that there is MOD
> >
> > but i ask this question cause i compa
Ok,
Thank you for your answer!
On Mon, 2010-11-08 at 20:02 +0100, Benoît Minisini wrote:
> > I know that there is MOD
> >
> > but i ask this question cause i compare the C++ operators with Gambas.
> >
> > As there is DIV and \ operator
> > i was questioned why MOD has not an operator as % for ex
> I know that there is MOD
>
> but i ask this question cause i compare the C++ operators with Gambas.
>
> As there is DIV and \ operator
> i was questioned why MOD has not an operator as % for example in C++
>
Because Gambas is a Basic, and the Basic languages I know do not use "%" as
operator
I know that there is MOD
but i ask this question cause i compare the C++ operators with Gambas.
As there is DIV and \ operator
i was questioned why MOD has not an operator as % for example in C++
On Mon, 2010-11-08 at 18:50 +0200, Jussi Lahtinen wrote:
> ?? There is Mod.
> http://gambasdoc.org/
El lun, 08-11-2010 a las 18:30 +0200, user escribió:
> Hi to all,
>
> i want to ask why there is not a modulus operator like % for example?
>
http://gambasdoc.org/help/lang/mod
--
Mauricio Baeza
10 años usando OpenOffice.org, libre, gratuito y seguro
___
Todo l
?? There is Mod.
http://gambasdoc.org/help/lang/mod
Jussi
On Mon, Nov 8, 2010 at 18:30, user wrote:
> Hi to all,
>
> i want to ask why there is not a modulus operator like % for example?
>
>
>
> --
> The Next 800 Comp
Hi to all,
i want to ask why there is not a modulus operator like % for example?
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
ok i see that it works like this.
I just want to ensure how it works because i am writing a book about
Gambas and i want to describe some things correctly.
Thanks.
On Mon, 2010-11-08 at 11:52 +0100, Doriano Blengino wrote:
> user ha scritto:
> > ok i see this but
> >
> > CStr(-19776) output is i
user ha scritto:
> ok i see this but
>
> CStr(-19776) output is it a string?
>
> for example i think there is difference between
>
> DIM sVar1="-19776" AS String
> DIM iVar2=-19776 AS Integer
>
> why Gambas re-convert a string to integer again when see a + operator?
>
Because gambas has automat
ok i see this but
CStr(-19776) output is it a string?
for example i think there is difference between
DIM sVar1="-19776" AS String
DIM iVar2=-19776 AS Integer
why Gambas re-convert a string to integer again when see a + operator?
The statement
PRINT CStr(-19776) + CStr(-19776)
should be equal
"An intermediate solution is the ability of making self-contained package,
like
Google does with Google Earth for example."
But that isn't viable, since if I wanted to package an application on a
system I need to have to have everything already installed in order to have
the required libraries to
Well CStr(-19776) gives -19776 so if you use the arithmetic addition
operator you're gonna get -19776 plus -19776 giving -39552.
Using the arithmetic operator in this case only works if both your
strings can be treated as floats, so this will raise an error:
PRINT CStr(-19776) + CStr("W")
If you
Hi to all and good morning.
I have this code
PRINT CStr(-19776) + CStr(-19776)
and i get -39552
How this is possible? Numeric operations between Strings?
--
The Next 800 Companies to Lead America's Growth: New Video
15 matches
Mail list logo