[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 smokefl...@gmail.com 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

[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 danbr...@php.net wrote: On Sat, Dec 18, 2010 at 17:02, David Hutto smokefl...@gmail.com 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

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

Re: [PHP] Problems w/ goto

2010-12-20 Thread David Hutto
On Mon, Dec 20, 2010 at 4:47 PM, David Harkness davi...@highgearmedia.com 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)

Re: [PHP] Problems w/ goto

2010-12-20 Thread David Harkness
On Mon, Dec 20, 2010 at 7:45 PM, David Hutto smokefl...@gmail.com 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

RE: [PHP] Problems w/ goto

2010-12-18 Thread Geoffrey Bernardo Van Wyk
Ethan, I tried to test your code, but I get this error next to the labels and goto statements: Language feature not compatible with PHP version indicated in project settings I have PHP 5.3.0. Geoffrey _ From: Ethan Rosenberg [mailto:eth...@earthlink.net] Sent: 17 December 2010

Re: [PHP] Problems w/ goto

2010-12-18 Thread David Hutto
On Sat, Dec 18, 2010 at 12:45 PM, Geoffrey Bernardo Van Wyk geoffrey.van@gmail.com wrote: Ethan, I tried to test your code, but I get this error next to the labels and goto statements: As a 'professional' programmer, working for an entity, we deal with these problems as we go. As

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:

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
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-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

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 Guide],

Re: [PHP] Problems w/ goto

2010-12-17 Thread Richard Quadling
On 17 December 2010 17:08, Steve Staples sstap...@mnsi.net 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

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, especially within

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 program that can have

[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 rquadl...@gmail.com 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

Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel P. Brown
On Fri, Dec 17, 2010 at 12:22, Robert Cummings rob...@interjinn.com 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

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