PowerLanguage 'method'  [SOLVED]

Questions about MultiCharts and user contributed studies.
javamarket
Posts: 55
Joined: 10 Jul 2014
Has thanked: 10 times
Been thanked: 18 times

PowerLanguage 'method'

Postby javamarket » 12 Jul 2014

I am trying to implement a Method call and return in PL similar to the implementation referenced here: http://help.TS.com/09_00/elwo ... _word_.htm

however the code fails to compile when using a trivial example such as:

Code: Select all

Method void testMethod()
begin
Print ("method test");
end;

Can you please confirm if this reserved word is indeed implemented in MC ?

Thanks,
Mark

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: PowerLanguage 'method'  [SOLVED]

Postby JoshM » 13 Jul 2014

Can you please confirm if this reserved word is indeed implemented in MC?
There is a method reserved word, but that is used for DLL's.

PowerLanguage does not support OOP features like the ones TS offers.


Return to “MultiCharts”