Le 02/03/2012 20:03, Jussi Lahtinen a écrit :
> I made quick effort to try to simulate gosub with goto,
> and noticed that jumping back inside loops is not possible (as the
> documentation says...).
>
> I understand that when it's For ... Next, but shouldn't that be possible
> with Do ... Loop Until x?
>
> Anyway, I'm not sure my simulation does accurately compare speed of Sub to
> Gosub... if it does,
> then gosub would be 2 to 3 times faster.
>
> Jussi

OK, it is faster. But now I must find a way to implement GoSub, and I 
don't have one at the moment. :-/

>
> PS. Try to change last line "End" to "EndEnd" and then try to compile!

Oops, line number problem there. I will fix it...

-- 
Benoît Minisini

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to