I use Title, but for debugging, I have also found the Say() command to be invaluable. Just tell me what state, or the value of a variable under certain conditions. The only problem with this is that another Say() will clip the previous one so that you only really get the last one said --but I can work with that.

Dennis

On Feb 26, 2008, at 10:27 AM, wavemechanic wrote:

Think through the process. First you define the variable and then enter into tooltip. Later you add/delete variables and then modify tooltip. The goal being discussed is to have variables and their values automatically added/deleted during coding (that's the point you are missing) and subsequently displayed with a "click" (in a user specified display mode), thereby eliminating the need to constantly modify title(), printf, tooltip, etc., etc.

Bill
----- Original Message -----
From: Herman
To: wavemechanic
Cc: amibroker@yahoogroups.com
Sent: Tuesday, February 26, 2008 10:12 AM
Subject: Re: [amibroker] Re: What language is AFL written in?

For that i use tool-tips, or PlotText() at the selected bar. I guess i am missing the point...

best regards,
herman

For tips on developing Real-Time Auto-Trading systems visit:
http://www.amibroker.org/userkb/

Tuesday, February 26, 2008, 10:07:44 AM, you wrote:

>
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: <amibroker@yahoogroups.com>
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 amibroker@yahoogroups.com, "wavemechanic" <[EMAIL PROTECTED]> wrote:
>>
>> http://www.cppreference.com/stdio/printf.html
>>
>> ----- Original Message -----
>> From: "gmorlosky" <[EMAIL PROTECTED]>
>> To: <amibroker@yahoogroups.com>
>> 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
>
>
>
>
>
> --
> 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

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


Reply via email to