On Sat, Mar 7, 2009 at 02:12, Paul M Foster <pa...@quillandmouse.com> wrote: > > Someone would add gotos to a language *on purpose*?!
Keep in mind that, unlike BASIC, the PHP implementation of GOTO will go to a label. Don't worry, you don't have to start line programming. <?php 10: //HELLOWORLD.PHP 20: // TELL THE WORLD HELLO. 30: 40: INPUT "IS NOW A GOOD TIME"; NOW$ 50: A$ = LEFT$(NOW$,1) 60: IF A$ = "Y" OR A$ = "y" THEN GOTO 80 70: GOTO 40 80: PRINT "HELLO WORLD!" ?> (Those of you who read multiple threads on multiple lists will notice that this is probably the fifth time in the last month that the discussion of BASIC has come up and the fifth time it's come to tossing out some BASIC pseudo-code. As an aside, BASIC was developed forty-five years ago this year!) -- </Daniel P. Brown> daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php