Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DIM x as String = ?
#1
Hi everyone!

Should this work?

Code:
DIM x as String = "test"

I get the following error when I try to compile:
Code:
Initializer expression is not constant.

Doing this instead is fine:
Code:
DIM x as String: x = "test"

I'm using the latest 1.2.8s696, by the way.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)