Announcement

Collapse
No announcement yet.

error message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • error message

    Hi,


    Can anyone help to correct the error message?

    Re: Syntax Error message for EFS formula


    Here are the paragraphs in ? specifically lines 19 and 23 - I added the second closed ) at end of lines 19 & 23 after syntax error prompted me - but still same message as u see below:



    18 setCursorLabelName("SKPFAST3_1",0);
    19 setDefaultBarFgColor( Color.RGB(165,163,231,0));
    20 setPlotType(PLOTTYPE_HISTOGRAM,0);

    22 setCursorLabelName("SKPFAST3_2",1);
    23 setDefaultBarFgColor( Color.RGB(240,150,171,1));
    24 setPlotType(PLOTTYPE_HISTOGRAM,0);


    Error Message I received in Formula Output box

    Kwikpop ----etc --- line 23: SyntaxError:missing ) after argument list:
    setDefaultBarFgColor( 240,150,171.1));

    says same thing for line 19

    so I added second ) to no avail

  • #2
    I believe that you have too many parameters in the Color.RGB() function call.

    Should be something like this:

    setDefaultBarFgColor( Color.RGB( 0, 255, 64 ), 0 );

    Chris

    Comment


    • #3
      Thanks

      Thank you, Chris--that worked.

      Comment

      Working...
      X