B4J Question Why is this a "Syntax Error"?

Discussion in 'B4J Questions' started by Volker_Skip, May 13, 2019.

  1. Volker_Skip

    Volker_Skip Member Licensed User

    Hello,

    ich copy this code from one sub in an other. And in the new subroutine it doesn't work, the IDE marks it as "Syntax Error" ??? Why?

    *****
    Select True

    Case var_kh <=0

    ******

    in an other Sub it works fine.

    Volker
     
  2. klaus

    klaus Expert Licensed User

    Without seeing the complete code it's impossible to give a concrete advice.
     
  3. Volker_Skip

    Volker_Skip Member Licensed User

    OK, i found the bug! If i copied the code, I saw the Bug. :rolleyes: Sorry for this simple Question!
     
  4. klaus

    klaus Expert Licensed User

    And what was the bug?
     
  5. Volker_Skip

    Volker_Skip Member Licensed User

    The error was in front of the screen. Really embarrassing, I had copied one character too few during copy and paste. :-(
     
  6. klaus

    klaus Expert Licensed User

    This can happen to all of us :)!
     
    Didier9, DonManfred and mangojack like this.
  7. MathiasM

    MathiasM Member Licensed User

    To be fair, this problem could be 'solved' by using more descriptive variable names. Not pointing fingers or anything. But var_kh says absolutely nothing, only that it's a variable, which is quite obvious.
     
  8. MrKim

    MrKim Active Member Licensed User

    If only compilers would act on what we want instead of what we do. Erel?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice