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

RE: [amibroker] Re: Creating Subs



PureBytes Links

Trading Reference Links

Thank you

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Ed Hoopes
Sent: Saturday, March 22, 2008 5:16 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Creating Subs

 

Create a Function by:

Function MyFun(arg1, arg2, arg3) //Pass data into the function with args;
{

Global Value1; // use Global to return multiple results;
Global Value2;

// Function code here;

Return Value1; // use Return if you have just one result;

}

//Call the function by;
MyFun(Param1, Param2, Param3);

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>
> Sure. Subroutine is just a function that does not return anything
> http://www.amibroker.com/guide/keyword/function.html
> http://www.amibroker.com/guide/keyword/procedure.html
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: KBH
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Friday, March 21, 2008 5:37 PM
> Subject: [amibroker] Creating Subs
>
>
> I was wondering, most of my limited coding exp. is with Visual
Basic. Can I create sub routines in AFL?
>
> If I can do that then I could create my price lines very easily.
>
>
>
> Maybe that won't work either.
>
>
>
> Awhile back Graham posted something on writing text back and forth
In AFL maybe that's the way to do it.
>
>
>
> Nothing like being lost.
>
>
>
>
>
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.21.7/1336 - Release Date:
3/20/2008 9:48 AM
>

 

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.8/1337 - Release Date: 3/20/2008 8:10 PM

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.8/1337 - Release Date: 3/20/2008 8:10 PM