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

Re: [amibroker] Interpretation in Procedures and Functions



PureBytes Links

Trading Reference Links

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




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links