'::' - comma expected - Pt 2*
-
Ok. I've been at this for hours!!
I'm trying to compile my EA but keep getting the '::' - comma expected' error msg between Fixed and Percentage...
But there IS a comma there...!
So what am I missing....!?

-
enum
{
fixed=0, // fixed
percentage =1//percentage
};value
0 or 1 -
Thanks for the reply....But I want the words Fixed and Percentage in the drop down menu....
Strange thing is it was working before, and then I changed something and now it's not

-
This should work, but I don't use a space after a comma, try deleting it.
-
Another thing enum's need to be above where you use them, you have this correct but in case I put them at the top of the list. It is so that when added to the terminal the enum lists are loaded before they are used.
-
@jstap said in '::' - comma expected - Pt 2*:
Another thing enum's need to be above where you use them, you have this correct but in case I put them at the top of the list. It is so that when added to the terminal the enum lists are loaded before they are used.
Ok...I might try putting all the enum's at the top and see if that makes a difference....
Also, I've tried with no space after comma...Same result...
Thanks again for replying*
-
Add a shared link and I'll look at it.
-
Thanks jstap for always replying....
I believe I may have almost solved it....Just hours of trial and error....as you can relate to

-
