Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67189 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10892 invoked from network); 29 Apr 2013 14:58:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Apr 2013 14:58:45 -0000 Authentication-Results: pb1.pair.com header.from=linepogl@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=linepogl@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.179 as permitted sender) X-PHP-List-Original-Sender: linepogl@gmail.com X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:57935] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/71-00193-4AA8E715 for ; Mon, 29 Apr 2013 10:58:45 -0400 Received: by mail-ob0-f179.google.com with SMTP id oi10so5454628obb.38 for ; Mon, 29 Apr 2013 07:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=YrjHpvx2ADYZcpGNbnjrVeBGUN6RwlKBn34ethR/hzY=; b=OjRsHZ6hZ5wDfjifcSLPoZdx6rx+jEcRfZAkgPMXJb3fTO4eZukFSf8GToDcIaY6lz mXXyLDaGP5K7l8+ALDWMpogV8JcGZPiNDVDJPuuhIGTi+N7txXIHgqnMTftMlH/U5lLI rVJbSXn48Bhxqs85tOtZwBFan0lCbneQRKqEzfNLqHSm8CsYlbqoHgINm1VreeRdYa5D FoasFr2lWJVy6o6bvllgAde0Oq2CnjBG0niOwvsSJPsSuwBeoNMXm4OGT6SObdvrGIr/ d8OTFBe9ZgxfBgGbjdUPCisroyfSZX3OySRcEPmRXw4pV+o1W6a3pjYNZOobW+VtKTkJ 2TBg== X-Received: by 10.60.92.230 with SMTP id cp6mr27865968oeb.91.1367223211122; Mon, 29 Apr 2013 01:13:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.154.130 with HTTP; Mon, 29 Apr 2013 01:13:11 -0700 (PDT) In-Reply-To: References: <170891005.EmXIrsICLC@rofl> Date: Mon, 29 Apr 2013 10:13:11 +0200 Message-ID: To: Julien Pauli Cc: Amaury Bouchard , Ferenc Kovacs , PHP Internals , Patrick Schaaf Content-Type: multipart/alternative; boundary=047d7b33cf0ed3e4d704db7b7545 Subject: Re: [PHP-DEV] Continued try blocks From: linepogl@gmail.com (Lazare Inepologlou) --047d7b33cf0ed3e4d704db7b7545 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2013/4/28 Julien Pauli > On Sat, Apr 27, 2013 at 3:56 PM, Amaury Bouchard > wrote: > > > 2013/4/27 Ferenc Kovacs > > > >> please don't reuse the continue keyword for it. > >> > >> There are a bunch of code out there where which uses exceptions in a > loop > >> context. > >> For example you have a retry counter decremented in a loop and you cat= ch > >> the exceptions and retry until the retry limit is reached. > >> > > Fair enough. We can use "resume". > > > > "continue" is just a keyword (syntactic sugar) we sure can change, I like > "resume" yes :-) > > Julien.Pauli > Does this sound familiar to anyone? Sub Foo( Bar ) On Error GoTo ErrorHandler . . . Exit Sub ErrorHandler: . . . Resume Next End Sub :-) Lazare INEPOLOGLOU Ing=C3=A9nieur Logiciel --047d7b33cf0ed3e4d704db7b7545--