Re: [Gambas-user] MOD arithetic operator

2010-12-15 Thread Benoît Minisini
> that's nice. > > Is this applied for Gambas2 also? > Of course not. -- Benoît Minisini -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to th

Re: [Gambas-user] MOD arithetic operator

2010-12-15 Thread Demosthenes Koptsis
that's nice. Is this applied for Gambas2 also? On Tue, 2010-12-14 at 09:16 +0100, Fabien Bodard wrote: > good :) > > Le 14 décembre 2010 00:47, Benoît Minisini > a écrit : > >> Hi to all, > >> > >> i want to ask why there is not a modulus operator like % for example? > >> > > > > The '%' operat

Re: [Gambas-user] MOD arithetic operator

2010-12-14 Thread Fabien Bodard
good :) Le 14 décembre 2010 00:47, Benoît Minisini a écrit : >> Hi to all, >> >> i want to ask why there is not a modulus operator like % for example? >> > > The '%' operator has been added as a synonymous for 'MOD' in revision #3362. > The '%=' assignment operator has been added as well. > > Reg

Re: [Gambas-user] MOD arithetic operator

2010-12-13 Thread Benoît Minisini
> Hi to all, > > i want to ask why there is not a modulus operator like % for example? > The '%' operator has been added as a synonymous for 'MOD' in revision #3362. The '%=' assignment operator has been added as well. Regards, -- Benoît Minisini

Re: [Gambas-user] MOD arithetic operator

2010-11-10 Thread Fabien Bodard
we will not spend the year ... Gambas will have a new symbol "%", it will be the synonym operator "MOD" Like "\" is synonymous with "DIV", thank you Benoit. As the operator is a long writing was old-fashioned (more explicit), and a short writing more compact. The point on which I would emphasize mo

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread Jussi Lahtinen
Sorry about nitpicking... but modulo, integer division, addition, subtraction are operators. MOD, %, DIV, + , - are called operator symbols, or just symbols. Jussi On Tue, Nov 9, 2010 at 14:05, user wrote: > > In my opinion that is correct choice. > > > >Because if you remove DIV aka / operat

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread Benoît Minisini
> Hi to all, and good morning. > > Dont worry you dont hurt me. :) > > I am not a C++ person not at all. > > Of course there is no need to turn Basic in C style. > > But i make a notice about DIV and MOD. > The one of them has a synonmous as operator. > > The only thing i propose is to maintai

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread user
> In my opinion that is correct choice. > >Because if you remove DIV aka / operator there will be problem for those Because if you remove DIV aka \ operator there will be problem for those (sorry mistake!) > who used this in their programs in the past. > > In the other hand if you add % operato

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread Ian Haywood
On Tue, Nov 9, 2010 at 6:40 PM, user wrote: > 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. Correct I remember MOD from the BBC Acorn's BASIC in the mid 1980s, so for me it is fairly natural, strangely even af

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread user
In my opinion that is correct choice. Because if you remove DIV aka / operator there will be problem for those who used this in their programs in the past. In the other hand if you add % operator as MOD the arithmetic operators will be complete and whole in my opinion as i read the manual. A las

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread Demosthenes Koptsis
Hi to all, and good morning. Dont worry you dont hurt me. :) I am not a C++ person not at all. Of course there is no need to turn Basic in C style. But i make a notice about DIV and MOD. The one of them has a synonmous as operator. The only thing i propose is to maintain a same "thinking" whil

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread Doriano Blengino
user ha scritto: > 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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread user
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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread Fabien Bodard
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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread user
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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread user
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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread Benoît Minisini
> 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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread user
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/

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread Mauricio Baeza
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

Re: [Gambas-user] MOD arithetic operator

2010-11-08 Thread Jussi Lahtinen
?? 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

[Gambas-user] MOD arithetic operator

2010-11-08 Thread user
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