I got an error "illegal start of simple expression" in scala while trying to do this:
def test() = {
    val h = "ls"!
    if (h != 0)
        println("error")
}
this is the error
[error]         if (h != 0)
[error] one error found
[error] (compile:compileIncremental) Compilation failed
Can anyone tell me what I did wrong?
 
     
     
    