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 be
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 while
In Operator Evaluation Order
http://gambasdoc.org/help/cat/evalorder
i see that the IS keyword is an operator with Strength 11.
1) All Is.. keywords are operators ?
2) All Is.. keywords have strength 11 ?
--
The Next
Hi,
when I want to print the units for draw were dots, for the gui I want to use
milimeter.
So I create a function
public function mmToDots(mm as integer, resolution as integer) as integer
return Round(mm / 25.4 * resolution)
end
And draw e.g. a line with
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
In Operator Evaluation Order
http://gambasdoc.org/help/cat/evalorder
i see that the IS keyword is an operator with Strength 11.
1) All Is.. keywords are operators ?
2) All Is.. keywords have strength 11 ?
They are not related at all. 'Is' is an operator, wherea Is() are
functions.
On Tue, Nov 9, 2010 at 6:40 PM, user demosthen...@gmail.com 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
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 % operator as
Hi,
i dont understand the following result.
PRINT abc == ab 'true
PRINT abc == abc 'false
in http://gambasdoc.org/help/cat/stringop
says
Returns if two strings are equal. The comparison is case unsensitive.
1) why abc and ab says they are equal?
2) and abc == abc are not?
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
2010/11/9 Gregor Burck gre...@aeppelbroe.de:
Hi,
when I want to print the units for draw were dots, for the gui I want to use
milimeter.
So I create a function
public function mmToDots(mm as integer, resolution as integer) as integer
return Round(mm / 25.4 * resolution)
end
And draw
2010/11/9 Gregor Burck gre...@aeppelbroe.de:
Hi,
when I want to print the units for draw were dots, for the gui I want to
use milimeter. So I create a function
public function mmToDots(mm as integer, resolution as integer) as integer
return Round(mm / 25.4 * resolution)
end
Fabien Bodard ha scritto:
2010/11/9 Gregor Burck gre...@aeppelbroe.de:
Hi,
when I want to print the units for draw were dots, for the gui I want to use
milimeter.
So I create a function
public function mmToDots(mm as integer, resolution as integer) as integer
return Round(mm / 25.4
2010/11/9 Doriano Blengino doriano.bleng...@fastwebnet.it:
Fabien Bodard ha scritto:
2010/11/9 Gregor Burck gre...@aeppelbroe.de:
Hi,
when I want to print the units for draw were dots, for the gui I want to
use milimeter.
So I create a function
public function mmToDots(mm as integer,
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 demosthen...@gmail.com wrote:
In my opinion that is correct choice.
Because if you remove
i have Gambas2 2.21 but i dont know which rev.
is there any way to find it?
On Tue, 2010-11-09 at 20:40 +0200, Jussi Lahtinen wrote:
That is bug... However I cannot reproduce it with Gambas 2.21 or with Gambas
3 rev 3281.
@ Ubuntu 10.04 64bit
Are you sure you got it correct?
Jussi
16 matches
Mail list logo