Re: [PHP] Problems w/ goto

2010-12-20 Thread David Harkness
On Mon, Dec 20, 2010 at 7:45 PM, David Hutto wrote: > Is the problem with using the goto convolutedness(as I've seen other > senior programmers in other languages when explaining, or 'showing > off'), or is their an actual functional problem with it? It works perfectly well and is a great solut

Re: [PHP] Problems w/ goto

2010-12-20 Thread David Hutto
On Mon, Dec 20, 2010 at 4:47 PM, David Harkness wrote: > On Fri, Dec 17, 2010 at 10:05 AM, la...@garfieldtech.com < > la...@garfieldtech.com> wrote: > >> What PHP has implemented is "named break statements", as I understand it. >> > > Not exactly. You can jump to arbitrary (labeled) lines within t

Re: [PHP] Problems w/ goto

2010-12-20 Thread David Harkness
On Fri, Dec 17, 2010 at 10:05 AM, la...@garfieldtech.com < la...@garfieldtech.com> wrote: > What PHP has implemented is "named break statements", as I understand it. > Not exactly. You can jump to arbitrary (labeled) lines within the same context (method/function), but you cannot enter loop const

[PHP] Re: [PHP-DB] Re: [PHP] Problems w/ goto

2010-12-20 Thread David Hutto
On Mon, Dec 20, 2010 at 7:37 AM, Daniel Brown wrote: > On Sat, Dec 18, 2010 at 17:02, David Hutto wrote: >> or maybe it's saturday morning and i'm drunk? > >    This seems to be the most likely, and considering how all messages > are permanently and independently archived and propagate throughout

[PHP] Re: [PHP-DB] Re: [PHP] Problems w/ goto

2010-12-20 Thread Daniel Brown
On Sat, Dec 18, 2010 at 17:02, David Hutto wrote: > or maybe it's saturday morning and i'm drunk? This seems to be the most likely, and considering how all messages are permanently and independently archived and propagate throughout the Internet, it might be a good reason not to go nuts in se

Re: [PHP] Problems w/ goto

2010-12-18 Thread David Hutto
check out my new sig. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems w/ goto

2010-12-18 Thread David Hutto
or maybe it's saturday morning and i'm drunk? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems w/ goto

2010-12-18 Thread David Hutto
You approved all of us, no matter the peer review, when you signed up or the list. The accumulation of knowledge, is insurmountable when delivered as a whole, but devourable if you need satiation of appetite. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Problems w/ goto

2010-12-18 Thread David Hutto
offrey > >  _ > > From: Ethan Rosenberg [mailto:eth...@earthlink.net] > Sent: 17 December 2010 06:39 PM > To: php-db-lists.php.net; php-general@lists.php.net > Subject: [PHP] Problems w/ goto > > > > Dear List - > > I am sending this again since it does not seem t

RE: [PHP] Problems w/ goto

2010-12-18 Thread Geoffrey Bernardo Van Wyk
06:39 PM To: php-db-lists.php.net; php-general@lists.php.net Subject: [PHP] Problems w/ goto Dear List - I am sending this again since it does not seem to have posted. Ethan +++ Dear List - Thank you with your excellent help in the past. Here is another puzzler I am trying to

Re: [PHP] Problems w/ goto

2010-12-17 Thread la...@garfieldtech.com
On 12/17/10 11:57 AM, Steve Staples wrote: I had to show the people in my office, and we all got a chuckle from teh XKCD comic in the PHP documentation for GOTO http://ca2.php.net/goto Steve I was one of the people that argued in favour of GOTO on the Internals list a few years ago. GOTO has

Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel P. Brown
On Fri, Dec 17, 2010 at 12:22, Robert Cummings wrote: > > I was one of the people that argued in favour of GOTO on the Internals list > a few years ago. GOTO has a use, and a very good one at that. It is by far > the most efficient construct when creating parsers or other similar types of > logic

[PHP] Re: [PHP-DB] Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel Brown
On Fri, Dec 17, 2010 at 12:16, Richard Quadling wrote: > > And have you seen all the sad faces ... > > : { > > on http://docs.php.net/manual/en/control-structures.goto.php#92763 > > Can't be good for them. If only people knew how many hours - literally, hours - it took me to keep that page cl

Re: [PHP] Problems w/ goto

2010-12-17 Thread Steve Staples
On Fri, 2010-12-17 at 12:22 -0500, Robert Cummings wrote: > On 10-12-17 12:08 PM, Steve Staples wrote: > > On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote: > >> [snip] > >> Thank you with your excellent help in the past. Here is another > >> puzzler > >> > >> I am trying to write a prog

Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel Brown
On Fri, Dec 17, 2010 at 11:38, Ethan Rosenberg wrote: > > I am trying to write a program that can have two(2) independent forms in one > PHP file.  When I run the code below [from PHP - A Beginner's Guide], to > which I have added a second form, it freezes. [snip!] > What did I do wrong? You

Re: [PHP] Problems w/ goto

2010-12-17 Thread Robert Cummings
On 10-12-17 12:08 PM, Steve Staples wrote: On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote: [snip] Thank you with your excellent help in the past. Here is another puzzler I am trying to write a program that can have two(2) independent forms in one PHP file. When I run the code belo

Re: [PHP] Problems w/ goto

2010-12-17 Thread Nicholas Kell
On Dec 17, 2010, at 11:08 AM, Steve Staples wrote: [snip /] >> >> >> GOTO should never be used like this. >> >> GOTO should never be used. >> > > Wow... that brought me back to 1990... using basic and batch files... > I honestly didn't even know that the GOTO was still in existence, > espec

Re: [PHP] Problems w/ goto

2010-12-17 Thread Richard Quadling
On 17 December 2010 17:08, Steve Staples wrote: > On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote: >> [snip] >> Thank you with your excellent help in the past.  Here is another >> puzzler >> >> I am trying to write a program that can have two(2) independent forms >> in one PHP file.  Wh

RE: [PHP] Problems w/ goto

2010-12-17 Thread Steve Staples
On Fri, 2010-12-17 at 10:50 -0600, Jay Blanchard wrote: > [snip] > Thank you with your excellent help in the past. Here is another > puzzler > > I am trying to write a program that can have two(2) independent forms > in one PHP file. When I run the code below [from PHP - A Beginner's > Gui

RE: [PHP] Problems w/ goto

2010-12-17 Thread Jay Blanchard
[snip] Thank you with your excellent help in the past. Here is another puzzler I am trying to write a program that can have two(2) independent forms in one PHP file. When I run the code below [from PHP - A Beginner's Guide], to which I have added a second form, it freezes. Without the go

[PHP] Problems w/ goto

2010-12-17 Thread Ethan Rosenberg
Dear List - I am sending this again since it does not seem to have posted. Ethan +++ Dear List - Thank you with your excellent help in the past. Here is another puzzler I am trying to write a program that can have two(2) independent forms in one PHP file. When I run the code below [