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

[amibroker] Re: Can a function call return more than one result at the same time



PureBytes Links

Trading Reference Links

Liz, Dennis,

Yes, setting global variables certainly works, but it can get messy 
very quickly if you do it much.

If you really need the effect of returning more than one value at 
once, it turns out to be possible in AFL to return a jscript value 
that has multiple values packaged up within a single value.  I 
discovered this just recently while experimenting with generic 
jscript objects and arrays.   I'll post my code real soon.  Thanks 
for this opportunity to reply.

daniel.laliberte@xxxxxxxxx



--- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> wrote:
>
> Liz,
> 
> Just pass the extra results back in Global variables.
> 
> Best regards,
> Dennis
> 
> On Jul 20, 2008, at 10:07 PM, Elizabeth Kennedy wrote:
> 
> > Hello all,
> >
> > I would appreciate if someone can tell me whether a function call 
can
> > return more than one result at the same time.
> >
> > If not, is there a way around in getting more than one RELATED
> > calculations returned to the main program.
> >
> > I know there is a 3rd party plugin called REM that returns more 
than
> > one result at the same time when you call the plugin.  But it is 
a DLL
> > not a function.
> >
> > Any help would be appreciated.
> >
> >
> > Liz
> >
> >
> > ------------------------------------
> >
> > 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
> > Yahoo! Groups Links
> >
> >
> >
>



------------------------------------

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
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/