Re: limiting
| From: | Tim Streater | Date: | Wed, 10 Oct 2012 20:28:00 +0000 |
| Subject: | Re: limiting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319416@lists.php.net to get a copy of this message | ||
On 10 Oct 2012 at 19:53, David McGlone <david@dmcentral.net> wrote:
> On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote:
>> On 10 Oct 2012 at 19:17, David McGlone <david@dmcentral.net> 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