Depends on situation. Usually goto is not needed, but it can be useful. Impossible to say more without seeing the code. Usually the problem with goto is that it can render the code hard to debug or read.
Jussi On Thu, Jun 22, 2017 at 4:21 PM, PICCORO McKAY Lenz <mckaygerh...@gmail.com> wrote: > 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 > ------------------------------------------------------------ > ------------------ > 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 > ------------------------------------------------------------------------------ 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