On 10 Oct 2012 at 19:53, David McGlone <david@xxxxxxxxxxxxx> wrote: > On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: >> On 10 Oct 2012 at 19:17, David McGlone <david@xxxxxxxxxxxxx> wrote: >>>> BTW - in any of your other computer languages didn't they utilize a >>>> 'return' statement? PHP's is no different. >>> back in like '85, I learned Pascal that's the only language I learned and >>> I don't recall if it used return. >> Mmmm. There's the problem. Pascal doesn't *have* a return statement. The one >> time I *had* to use Pascal as that was the only option, I simply put a 999: >> label at the end of the function and did goto 999 wherever I wanted to do a >> return. Simples! > > goto was the thing that got on my nerves. Even to this day I hate that word > with a passion. Hummmm! Apart from what I described above, I haven't needed to use GOTO since I stopped writing FORTRAN in 1978. -- Cheers -- Tim
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php