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

Re: [amibroker] Conditional text output to interpretation window



PureBytes Links

Trading Reference Links

thanks Tomasz,
 
I had to dig a little deeper before asking questions,
 
rgds, Ed
 
 
 
----- Original Message -----
Sent: Sunday, June 05, 2005 11:40 AM
Subject: Re: [amibroker] Conditional text output to interpretation window

Hello,
 
Text output by just typing a string is obsolete and left for backward compatibility only. For this reason it works outside functions
and outside conditionals only.
 
All new commentary codes should use printf function
 
It works perfectly inside functions and conditionals:
 
a = 10;
if (a > 1) {

printf("text");

}

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: ed nl
Sent: Sunday, June 05, 2005 11:32 AM
Subject: [amibroker] Conditional text output to interpretation window

hi,
 
when I place some text inside my main indicator program as follows:
 
"text";

then the text line is visible inside the Interpretation window.
 
 
However if I place this same text inside a conditional statement, for instance:
 
a = 10;
if (a > 1
) {

"text"
;

}

then no output is visible inside the interpretation window.
 
Why is this?  If I put some code within the conditional statement it is executed OK but somehow it does not put text output to the interpretation window,
 
thanks, Rgds, Ed


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 other support material please check also:
http://www.amibroker.com/support.html





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 other support material please check also:
http://www.amibroker.com/support.html





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 other support material please check also:
http://www.amibroker.com/support.html





Yahoo! Groups Links