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 <demosthen...@gmail.com>:
> 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 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.
>>
>
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to