Why not try: RETURN label:
It looks like a function return value but "label:" can only be a label, yes On 04/03/2012, Benoît Minisini <[email protected]> wrote: > Le 04/03/2012 17:35, Jussi Lahtinen a écrit : >> Maybe there should be "GoBack" instead of "Return". >> We already have "GoTo" and "GoSub", so I think it would be logical... >> >> Jussi >> > > Yes, but RETURN is the historical syntax in Basic. > > And I don't think it's a problem if you cannot return from the function > directly if you are inside a GOSUB. GOSUB should be used for very > specific needs - recursion is now impossible!. > > If I have to make recursion possible, we will lose the speed gain. So > better use a real function! > > Regards, > > -- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
