RE: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Martin Towell
FYI: c and c++ do have goto -Original Message- From: JSheble [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 3:29 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] GOTO command. Doest it exist? I sure hope I'm not going to stir up any trouble, but why exactly would you need a

RE: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread JSheble
IL PROTECTED] >>Subject: Re: [PHP] GOTO command. Doest it exist? >> >> >>In article <001901c21190$c2ffc4e0$017f@localhost>, >>[EMAIL PROTECTED] says... >>> Many will tell you that the goto command is extinct. It isn't, >>it's just >&g

Re: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread David Robley
In article <001901c21190$c2ffc4e0$017f@localhost>, [EMAIL PROTECTED] says... > Many will tell you that the goto command is extinct. It isn't, it's just > evolved into the function command. What you do now is create a function: > > function some_name($variable,$other_variable,...) > { >

RE: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Martin Towell
GOTO command. Doest it exist? - Original Message - From: "hugh danaher" <[EMAIL PROTECTED]> To: "Carlos U. Cirello Filho" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 2:41 PM Subject: Re: [PHP] GOTO command.

RE: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Rasmus Lerdorf
ld 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 P

Re: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Edward Marczak
On 6/11/02 4:06 PM, "Chris Hewitt" <[EMAIL PROTECTED]> wrote: > Carlos, > > A search of the on-line manual does not find it > (http://www.php.net/manual) but even if it has, I would advise you not > to use it. Its a throwback to the 1970s before "structured programming". Sometimes, it's appropr

RE: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Martin Towell
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 hav

RE: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread David Freeman
> 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

Re: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread hugh danaher
Many will tell you that the goto command is extinct. It isn't, it's just evolved into the function command. What you do now is create a function: function some_name($variable,$other_variable,...) { some code here; } then, call it using : call_user_func('some_name',$variable,$other

Re: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Carlos U. Cirello Filho
I am affraid to say that there is indeed, however not under keyword goto but under commentaries of do while statements.. "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Carlos, > > A search of the on-line manual does not find it > (http://www.php

Re: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread Chris Hewitt
Carlos, A search of the on-line manual does not find it (http://www.php.net/manual) but even if it has, I would advise you not to use it. Its a throwback to the 1970s before "structured programming". Regards Chris Carlos U. Cirello Filho wrote: >I do beg your pardon... But does PHP not hav