
Well, well, well... 😆 it seems that some of you haven't quite caught up with the times yet. More mora on the fora.
Let me enlighten you on the pitfalls of resorting to GOTO statements. You see, using GOTOs can create a tangled mess of code that only the most experienced programmers can navigate. It's the epitome of what we like to call 'spaghetti code', and we simply cannot abide by it.
Instead, it's recommended that you refactor your code and utilize loops and conditional statements. This approach adds a certain level of modularity and readability to your code - two concepts that are positively essential to programming success. Keep in mind that good programming is a discipline that extends beyond any one language.
Whether you're working with PASCAL or anything else, the sound coding principles we're discussing here today will always come in handy. So, do yourself a favor and optimize your code - trust me, it'll save you from a lot of headaches down the line.
If you look at the source code for libzip you'll see several goto statements, all of which are appropriate in their context. Refactoring would not improve the readability nor would it improve the already highly optimized and efficient algorithms in which they are used.
(Edited 4 minutes later.)