[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Xetra



PureBytes Links

Trading Reference Links

Graham,

The procedure is nothing more than just a function that returns no value (nothing).
In other words procedure works as a function with no "return" statement.

Procedure can be used just to wrap some part of code without need to "return"
anything to the caller.

procedure ExamplePlots10GridLines()
{
 for( i = 0; i <= 100; i = i + 10 ) 
   PlotGrid( i );
}


ExamplePlots10GridLines(); // just plot grid lines

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Graham" <gkavanagh@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 11, 2004 12:32 AM
Subject: [amibroker] Functions and procedures


> The difference between functions and procedures is something I have trouble
> understanding even after reading the descriptions in the help files. Hoping
> someone can provide me with where procedures could be used instead of a
> function. 
> 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/