I do not see any safety problem with multiple entries in a sub.
It is up to the programmer to write correct code and debug it. Say you want 5*6 and accidentally write 5**6. This is valid in PBP but whose fault is now. Compiler's?
Also valid is the conditional exit from a sub with many returns that depend on the conditions. Not efficient programming but for the sake of example:
IoannisCode:mysub: if x=3 then y=4 RETURN elseif x=5 then y=6 RETURN endif y=10 return
Bookmarks