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

Re: [amibroker] Interpretation in Procedures and Functions



PureBytes Links

Trading Reference Links

Thanks John, Herman and Terry
 
I'm gradually getting the hang of AFL. Having been an old C and shell script programmer I get caught with nuances of AFL that are not immediately obvious.
 
After re reading 4.70 User Manual I recall StaticVarSetText but had not thought of an application for it. Great idea.
 
regards
Chris
-------------------------------
 
You can also store you text in Static Memory, using StaticVarSetText() so that you can display cummulative text, for example a Real-Time trade list. Adding a Save function that saves the text in a TimeStamped file is also very handy.
 
best regards,
Herman.
 
-------------------------------
 
Text inside {} will not print.
Return it to a variable and print the variable after loop in closed.

"Interpretation Function Test";
 
procedure SayHi()
{
x = "Well Hello!";
return x;
}
SayHi();

"End of Test";

Terry

Chris Shawcross wrote:
I forgot to provide the result of this test:
 
Interpretation Function Test
End Of Test
 
and I expected the following:
 
Interpretation Function Test
Well Hello!
End Of Test
 
I hope the solution to this is easy.
 
regards
Chris
>>>>>>>>>>>> 
Hi
 
I'm having a go at segregating my code modules into functions and
procedures but have found that the interpretation does not display if
embedded in a function or procedure.
 
Is this true or any suggestions?
 
Example Code shown below:
 
"Interpretation Function Test";
 
procedure SayHi()
{
  "Well Hello!";
}
SayHi();
"End of Test";
 
I'm using V1.70.rc2
 
regards
Shawky
 
 





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 Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links