Please show the Pascal code
Le 11 oct. 2014 06:58, T Lee Davidson t.lee.david...@gmail.com a écrit :
On 10/10/2014 08:50 PM, Benoît Minisini wrote:
Thank you for trying to explain that to me. But, now I am really confused.
As far as I can tell, the Gambas program also uses floating point
Le 11/10/2014 06:58, T Lee Davidson a écrit :
On 10/10/2014 08:50 PM, Benoît Minisini wrote:
Thank you for trying to explain that to me. But, now I am really confused.
As far as I can tell, the Gambas program also uses floating point
numbers. The only integers I see used in that program are
Le 06/10/2014 08:33, Rolf-Werner Eilert a écrit :
Ooops - yes :) Ok, what property should I use instead? I could set it
directly in the file, not going the way via the IDE.
Thanks for drilling into it so deeply!
Rolf
Replace LeftRight by Row.
The conversion of these constants is done now
Le 11/10/2014 18:32, T Lee Davidson a écrit :
On 10/11/2014 08:52 AM, Benoît Minisini wrote:
You're right, I thought that the number of occurrences was printed, not
the result. Always look at the code before answering!:-)
Well, as Fabien says, shows the Pascal code. I find strange that a
Something wrong here! Gambas and Pascal are different category programming
languages, interpreted and compiled. And thus this is hard to believe. So I
had to test this myself.
$ time ./polym_g.gambas
125
125
125
125
125
125
125
125
125
125
real
I guess I should have included my system information; just didn't think
about it being relevant at the time. Obviously, though, it is.
System Info:
Intel(R) Pentium(R) 4 CPU 2.40GHz, 1G RAM
Mageia 3, Kernel 3.10.54 (KDE4)
Gambas 3.5.4
Free Pascal Compiler version 2.6.4 [2014/03/07] for i386
Just to be clear, I did not run 'polynom.gambas' as a script with the
she-bang specifying to use 'gbs3' to execute it. That *is* slow.
I executed it using gbs3 with the '-f' option invoking the JustInTime
compiler.
I also just now used the IDE to create a command-line application based
on the
Le 11/10/2014 21:49, T Lee Davidson a écrit :
Just to be clear, I did not run 'polynom.gambas' as a script with the
she-bang specifying to use 'gbs3' to execute it. That *is* slow.
I executed it using gbs3 with the '-f' option invoking the JustInTime
compiler.
I also just now used the IDE
Ah ok, sounds more logical. Anyway, if you want to compare Gambas with a
compiled language, you should use the JIT compiler. And you must not use
it if you compare it with an interpreted-only language.
Absolutely, that would make the comparing fair. I'll test later with JIT.
Jussi
Just an update.
This works really well. Thanks Tobi for help in crystallising where I was
trying to go with this.
So far (I am only working on this part-time - it's a non-income earner but it
will save so much time and effort in the future) I have a robust solution for
fully-autonomous
A couple of oddities have emerged from my work in the A Good Idea? thread:
1) the _IsVirtual constant - this appears now to be a function? Is the help
documentation correct or is this constant/function something I am not
understanding?
2) a bit more complex - I have an ancestral class,
Le 12/10/2014 00:52, B Bruen a écrit :
A couple of oddities have emerged from my work in the A Good Idea?
thread:
1) the _IsVirtual constant - this appears now to be a function? Is
the help documentation correct or is this constant/function something
I am not understanding?
_IsVirtual is a
My cleaning script didn't include rm -f /usr/local/bin/gbs3 and
apparently because of changed paths make install didn't overwrite old
version. So my gbs3 had version number 3.2.90, and no -f option (it was
simply ignored)!
Just to warn others, you may want to check whether you too have two
Hello,
by starting from this:
http://sourceforge.net/p/gambas/mailman/message/21194093/
I tried this simple code:
Public Sub Form_Open()
With ImageStat(/tmp/my_image.jpg)
Print .Type
Print .Width;; .Height;; .Depth
End With
End
Well, I obtain a Segmentation fault (11) error !
Le 12/10/2014 02:44, Ru Vuott a écrit :
Hello,
by starting from this:
http://sourceforge.net/p/gambas/mailman/message/21194093/
I tried this simple code:
Public Sub Form_Open()
With ImageStat(/tmp/my_image.jpg)
Print .Type
Print .Width;; .Height;; .Depth
End With
End
Well,
On Sun, 12 Oct 2014 01:45:26 +0200
Benoît Minisini gam...@users.sourceforge.net wrote:
Le 12/10/2014 00:52, B Bruen a écrit :
A couple of oddities have emerged from my work in the A Good Idea?
thread:
1) the _IsVirtual constant - this appears now to be a function? Is
the help
16 matches
Mail list logo