error and font question

 

this line:

double ncoef1b = {ncoef1b0,ncoef1b1}; it is defined as an array earlier.

gives tgis error:

'}' - comma or semicolon expected C:\Program Files\MetaTrader – MB Trading\experts\indicators\Regression1.mq4 (40, 47)
and the semicolon is setting right there! Why?

The font in the help in the bottom window in the editor is HUGE. it takes about 10 scroles across to read one word. What is the fix?

 
profjim wrote >>

this line:

double ncoef1b = {ncoef1b0,ncoef1b1}; it is defined as an array earlier.

gives tgis error:

'}' - comma or semicolon expected C:\Program Files\MetaTrader – MB Trading\experts\indicators\Regression1.mq4 (40, 47)
and the semicolon is setting right there! Why?

The font in the help in the bottom window in the editor is HUGE. it takes about 10 scroles across to read one word. What is the fix?

this should be :

double ncoef1b[] = {ncoef1b0,ncoef1b1};

 
irusoh1 wrote >>

this should be :

double ncoef1b[] = {ncoef1b0,ncoef1b1};

I actually copied and pasted that in.....same error after compile.

 
profjim:

I actually copied and pasted that in.....same error after compile.

mql docs Initialization of variables:

'All arrays, including those declared in the local scope, can be initialized with constants only.'

Reason: