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 ----- 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 > >> >> >> ----- Original Message ----- >> From: "gmorlosky" <gmorlosky@xxx> >> 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: >> > >> > For other support material please check also: >> > >> > 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: > > For other support material please check also: > > Yahoo! Groups Links > > <*> To visit your group on the web, go to: > > <*> Your email settings: > Individual Email | Traditional > > <*> To change settings online go to: > (Yahoo! ID required) > > <*> To change settings via email: > > <*> To unsubscribe from this group, send an email to: > > <*> Your use of Yahoo! Groups is subject to: > > > > -- > 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 > > |