Well, IMO, the only languages that really need goto's are low-level ones like assembly and C.
goto's are more trouble than they're worth when you get into structured or OO programming. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Carlos U. Cirello Filho" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK, > > Anyway goto's are bad and wrong things... And one shouldn't use it. I am > wrong in trying to solve such problem using it. But I was really amazed that > PHP did not have goto.... > > Kind Regards, > > > Carlos Cirello > > > "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message > 000e01c21183$ab49e590$8102a8c0@niigziuo4ohhdt">news:000e01c21183$ab49e590$8102a8c0@niigziuo4ohhdt... > > [snip] > > Subject: Re: [PHP] GOTO command. Doest it exist? > > [/snip] > > > > No, and you don't need it. The reason? Ask yourself, "what is the use of a > > GOTO?". Usually GOTO indicates a function of some sort, which you could > > easily replicate with a function() or switch() if you need to send your > > application in a different direction depending upon a set of > circumstances. > > > > HTH! > > > > Jay > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php