[Gambas-user] Are "On ... Gosub" implemented with a jump table?

Fabien Bodard gambas.fr at gmail.com
Wed May 22 09:46:25 CEST 2019


Le mer. 22 mai 2019 01:12, Cedron Dawg <cedron at exede.net> a écrit :

> In other words are they efficient or syntax sugar?
>
> Thanks,
>

What is the goal of that ?

On condition gosub ...

Look to be the same as

If condition then gosub...


So ?

Or is it a thing that look like a select case ?

But the call to the gosub ... can it be implemented dynamiquely ?

Gosub strsubs[value] ?


> Ced
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190522/add03f80/attachment.html>


More information about the User mailing list