Le 22/06/2017 à 15:21, PICCORO McKAY Lenz a écrit :
i have some GOTO to avoit large IF-ELSE code blocks and make readable the
code..
the usage of many GOTO instructions can be bad pracitce or make influence
in the code?
i remenber that in BASIC always tell me "dont use too much"
of course GAMBAS IS NOT BASIC (umm that sound familiarr... ;-)
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
If your code is more readable with GOTO than without GOTO, then use GOTO.
Note than you have GOSUB too.
Regards,
--
Benoît Minisini
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user