There had been a lot of discussions in past posts about how static array variables could be used. However, I think the one that is most easily understood would be where you have two panes in a chart and you calculate a complex AFL to get some array in the top chart. However, you want to display an indicator in the lower pane that is derived from that complex calculation. Instead of duplicating the AFL from the top pane again in the lower pane, now the results from the top pane can be saved in a static variable, and the AFL in the lower pane can just use the array value in the same static variable.
We have had the ability to pass single values between charts (or AFL passes), but now we can do that with complete arrays. I am sure others will find interesting things to do with static array variables over time. Best regards, Dennis On Mar 6, 2009, at 8:06 PM, droskill wrote: > Very interesting - I'm wondering if someone could provide an simple > example of how one might use the feature - I realize this is > probably obvious to all of you - but I'd be curious to see what > people are using them for. > > --- In [email protected], "brian_z111" <brian_z...@...> wrote: >> >> Thankyou very much Tomasz. >> >> Another small addition that leverages a lot of possibilities. >> >> Again it was the end result of very good communication between you >> and the forum. >> >> Thanks for looking after Natasha too. >> >> >> --- In [email protected], "Tomasz Janeczko" <groups@> wrote: >>> >>> Hello, >>> >>> AmiBroker 5.24.0 BETA is released now: >>> http://www.amibroker.com/devlog/2009/03/06/amibroker-5240-beta-released/ >>> >>> This is somewhat special beta because it contains only one fix and >>> introduces only one new feature: array static variables. >>> I decided to release this feature "alone" because the static >>> variable code >>> has been completely rewritten, so in case of any issues, it would >>> be easy >>> to revert to 5.23. >>> >>> Best regards, >>> Tomasz Janeczko >>> amibroker.com >>> >> > > > > > ------------------------------------ > > **** IMPORTANT PLEASE READ **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > TO GET TECHNICAL SUPPORT send an e-mail directly to > SUPPORT {at} amibroker.com > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > http://www.amibroker.com/feedback/ > (submissions sent via other channels won't be considered) > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > Yahoo! Groups Links > > >
