Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!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 09:17:09 +0100 Organization: Aioe.org NNTP Server Lines: 32 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=windows-1252; 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:454 On 07/10/2011 03:28, Bob Butler wrote: > > "Dimmer" wrote in message > news:4e8e56c9$1@dnews.tpgi.com.au... >> Also Bob, I have found out that if I use the word CALL it is OK as >> long as the arguments are in brackets. Without CALL as in your example >> also works but then brackets must not be used. I imagine that the two >> syntaxes are optional? > > Correct > > Call procedurename(argumentlist) > -or- > procedurename argumentlist And just a warning that while mixing them is syntactically valid for one parameter, it does NOT always do what you expect and will catch you out with a bug at some point: procedurename (argument) It evaluates 'argument', which for objects, gets the default property, and other types, converts to a variant with an implicit byval. -- 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.)