Not interested in array changes just the value at a selected point (could be last bar) which is useful in the code development stage. ----- Original Message ----- From: Herman To: wavemechanic Sent: Tuesday, February 26, 2008 9:47 AM Subject: Re: [amibroker] Re: What language is AFL written in?
You would need a debugger. AFL Is a array processing language... displaying array changes is not as simple as displaying numbers. What i have done lots of times is plot the variables. I have also used stacks of ribbons to show me how binary states evolve over time. best regards, herman For tips on developing Real-Time Auto-Trading systems visit: http://www.amibroker.org/userkb/ Tuesday, February 26, 2008, 9:22:38 AM, you wrote: > The problem is not how the variable values are displayed (interpretation, title, or as you note tooltip) but having to type them into printf, title(), or tooltip as one is developing code. Maybe it is impossible, but ideally once variables are defined their values could be displayed with a click in whatever output is desired. In the meantime, we all stumble along. Bill ----- Original Message ----- From: Herman To: wavemechanic Cc: AmiBroker, User Sent: Tuesday, February 26, 2008 8:55 AM Subject: Re: [amibroker] Re: What language is AFL written in? ToolTip = ? using "\n" and selected bar, you have quite a few entries in table form. DebugView? best regards, herman For tips on developing Real-Time Auto-Trading systems visit: http://www.amibroker.org/userkb/ Tuesday, February 26, 2008, 8:48:46 AM, you wrote: > Instead of Interpretation window I sometimes find that Title() is a faster/easier route but both get the job done in a somewhat cumbersome way. Wish we had a built-in button that displayed the values without having to code them into printf or Title(). From time to time, I have tried to develop a function that would automatically pick up variable values during code development and display them in the Interpretation window or title but no luck so far. Bill ----- Original Message ----- From: "Ed Hoopes" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 26, 2008 1:37 AM Subject: [amibroker] Re: What language is AFL written in? >I use printf as a quick and dirty way to see values of variables for > debugging purposes. Like: > > printf("MyVar = " + MyVar + "\n" ); > > The output comes out in the Interpretation window. > > Or to print the individual array values to the Interpretation window: > > for(i = 1; i < barcount; i++) > { > printf("MyVar[" + i + "] = " + MyVar[i] + "\n" ); > } > > ReefBreak > > --- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> wrote: >> >> http://www.cppreference.com/stdio/printf.html >> >> ----- Original Message ----- >> From: "gmorlosky" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Monday, February 25, 2008 1:16 PM >> Subject: [amibroker] What language is AFL written in? >> >> >> >I was reading some code which was not fully disclosed in the reference >> > manual such as the %d, %f, % whatever used with the printf function. >> > >> > What language is AFL written in? >> > >> > >> > >> > 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 >> > >> > >> > >> > >> > >> > -- >> > No virus found in this incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.5.516 / Virus Database: 269.21.0/1296 - Release Date: > 2/24/2008 >> > 12:19 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 > > Yahoo! Groups Links > > http://groups.yahoo.com/group/amibroker/ > > Individual Email | Traditional > > http://groups.yahoo.com/group/amibroker/join > (Yahoo! ID required) > > mailto:[EMAIL PROTECTED] > mailto:[EMAIL PROTECTED] > > [EMAIL PROTECTED] > > http://docs.yahoo.com/info/terms/ > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.21.1/1298 - Release Date: 2/25/2008 8:45 PM > > ------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.1/1298 - Release Date: 2/25/2008 8:45 PM ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.1/1298 - Release Date: 2/25/2008 8:45 PM
