Powerlanguage Methods

Questions about MultiCharts and user contributed studies.
masber2000
Posts: 29
Joined: 15 Aug 2012
Has thanked: 2 times

Powerlanguage Methods

Postby masber2000 » 19 Jan 2023

Does Powerlanguage support Easylanguage Methods (in-line coding), or do we just have functions to manage blocks of code? I've entered the following as a test:

Code: Select all

method Void HAM() begin end;
It constantly returns this error:

------ Compiled with error ------
syntax error, unexpected 'void'
line 1, column 7

User avatar
Polly MultiCharts
Posts: 203
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: Powerlanguage Methods

Postby Polly MultiCharts » 20 Jan 2023

Hello masber2000,

In MultiCharts PowerLanguage the Method keyword is not available. You need to create a function as a separate file and then you will be able to use it in your code.


Return to “MultiCharts”