Announcement

Collapse
No announcement yet.

undetected Syntax error

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

  • undetected Syntax error

    I ran into a problem where a variable wasn't being set at all:
    This was the code:

    func getSettings()
    cellCount := 6;
    cellMinVolt := 60;
    cellLowVolt := 80;
    cellHiVolt := 110;
    cellMaxVolt := 128
    endfunc

    See the error?
    The semicolon was missing after the last assignment statement.
    The compiler didn't think this is an error, but the assignment statement was NOT being executed.

  • #2


    Yes, we are aware of the problem. The new enhanced compiler will be ready soon. For the time being just watch out for those missing semicolons.
    Atilla

    Comment


    • #3


      yes, current compiler does have a problem with missing semicolon in some situations. This has been rectified for the new compiler to be released soon.
      Regards,
      Dave

      Comment

      Working...
      X