Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6343 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60717 invoked by uid 1010); 10 Dec 2003 23:57:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60683 invoked from network); 10 Dec 2003 23:57:55 -0000 Received: from unknown (HELO h24-68-209-231.gv.shawcable.net) (24.68.209.231) by pb1.pair.com with SMTP; 10 Dec 2003 23:57:55 -0000 Received: from zworg.com (localhost.localdomain [127.0.0.1]) by h24-68-209-231.gv.shawcable.net (8.12.8/8.12.8) with ESMTP id hBANvs4H006926 for ; Wed, 10 Dec 2003 15:57:54 -0800 Message-ID: <3FD7B302.6090807@zworg.com> Date: Wed, 10 Dec 2003 15:57:54 -0800 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: With ..End With From: jdavidson@zworg.com (jason davidson) Here is javascripts implementation of the with construct. http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/stmt.html#1004910 im not as fond of that kind of implementation, but the idea is the same. I prefer to have some kind of syntax that indicates you are calling a method or property from the object block your in. J