Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Deanna Earley Newsgroups: comp.lang.basic.visual.misc Subject: Re: Newbie question about nested subroutines Date: Fri, 07 Oct 2011 17:37:04 +0100 Organization: Aioe.org NNTP Server Lines: 28 Message-ID: References: <4e8df7f8$1@dnews.tpgi.com.au> <01cc847e$07167600$6d01a8c0@k8s8x> <4e8e56c9$1@dnews.tpgi.com.au> NNTP-Posting-Host: rjApkXnSOjrT83QpZ8fKqg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:457 On 07/10/2011 17:34, Deanna Earley wrote: > On 07/10/2011 16:26, ralph wrote: >> Procedurename argument >> is not semantically the same as >> Procedurename (argument) >> >> However, I disagree with the characterization that it is a 'bug' or >> that the results should even be 'unexpected'. The grammatic rules for >> calling VB procedures and using parathentheses are very clear. If one >> doesn't follow the rules then surprises are to be expected. > > Of course, but I expect people to not read/know the rules and so will > not be expecting defined behaviour :p > That and the amount of people I've had to tell this to when they were > bitten by it... Oh, and by bug I meant a bug in people's code that has the () when it shouldn't, not a bug in the VB libs/parsing. -- Dee Earley (dee.earley@icode.co.uk) i-Catcher Development Team http://www.icode.co.uk/icatcher/ iCode Systems (Replies direct to my email address will be ignored. Please reply to the group.)