peteym5 Posted March 2, 2022 Report Share Posted March 2, 2022 (edited) This has been a topic since the later 1980s. Is that using GOTO's in Programming is bad. At least unconditional straight GOTO statements. The theory is the more GOTOs a program has, the more bugs it has and the harder it is to fix something if it is not functioning correctly. I know the default Atari Basic, makes it hard to write programs without using them, because you need to do IF-THEN-GOTO to execute code that takes several lines if a condition is true. Also need GOTOs to create Loops in Games or other programs. I know Basic XL, Basic XE, Turbo Basic, and Fast Basic include statements like IF ELSE ENDIF, REPEAT UNTIL, WHILE WEND, DO LOOP. These reduce the need of GOTOs. With Atari Basic, I need to use GOTOs with IF statements to simulate the function of a Block IF. This is also happening with Atari 7800 Basic. Edited March 2, 2022 by peteym5 Justin 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.