I've found that any language that supports "while", "do/while", "for" and "if/else" as well as functions/subroutines doesn't need "goto".
IMO, you should be able to do code using just those basic elements (sequence, loops, conditions -> basic flowchart "commands") just my 2c worth -----Original Message----- From: David Freeman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 8:34 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] GOTO command. Doest it exist? > I do beg your pardon... But does PHP not have GOTO command? Why do you need one? In my experience, going right back to BASIC over 10 years ago, it's rarely _necessary_ to have a goto. In php I suspect you'd get similar functionlity out of either include() for creating functions. Not using goto tends to promote readability of program flow also, always a good thing imho. Each programming language is different and each has it's own advantage, disadvantages and is particularly suited to certain uses. A good programmer works with the tools available rather than worrying over language differences. Just my own opinion and I don't really expect anyone else to agree. CYA, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php