B4J Question Why is this a "Syntax Error"?

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
 

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. :-(
 

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.
 

MrKim

Well-Known Member
Licensed User
If only compilers would act on what we want instead of what we do. Erel?
 
Top