Share

Gambas

Tracker: Feature Requests

5 EXIT statement - ID: 1176502
Last Update: Settings changed ( gambas )

In VB, there is several EXIT statement (EXIT FOR, EXIT
DO, EXIT SELECT, EXIT FUNCTION, EXIT SUB)
This is very useful.
Now in Gambas I simulate this with the GOTO statement
but the GOTO use isn't a good practice !


GRANDZEBU ( grandzebu ) - 2005-04-04 17:26

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2005-05-10 14:07
Sender: gambasProject Admin

Logged In: YES
user_id=29457

Read the doc :-) In Gambas, you must use BREAK and
RETURN. You even have CONTINUE, which does not exist in
Visual Basic.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
status_id Open 2005-05-10 14:08 gambas
close_date - 2005-05-10 14:08 gambas