Fixing the code isn't a problem as the cast is pointless and simply can be omitted. It also works when defining x as a local variable. But that does not help me get my socks back on... tongue

I'm curious where the syntax error hides...


Always learn from history, to be sure you make the same mistakes again...