[Gambas-user] Getting Gambas up to speed.
Michael Isaac
m_isaac at ...689...
Tue Jul 5 23:47:12 CEST 2005
PV wrote:
> On 05/07/2005 22:15, Laurent Carlier wrote:
>
>> small test program :
>> FOR ... NEXT :1.337913000025
>> DO ... LOOP UNTIL :1.499999780208E-5
>> DO WHILE ... LOOP :2.90982099995
>> WHILE ... WEND :2.893097999971
>>
>> DO ... LOOP UNTIL -> wow !
>>
>
> There's an error in your test program: in the do...loop until section,
> the loop is executed only once since the j < value condition evaluates
> to true on the first run.
>
> My results (after correction):
>
> FOR ... NEXT :1.546652000048
> DO ... LOOP UNTIL :2.545786999981
> DO WHILE ... LOOP :3.030274000019
> WHILE ... WEND :2.942573999986
>
> Ciao,
> Piero
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
another thing i noticed in your source is that the constant value is
only 10,000,000 (10 million) not 1,000,000,000 (1 billion)
fix that and try again.
More information about the User
mailing list