I now tried for the first time CodeBench by just importing and compiling my hwbeamer project from CubicIDE and I have a weird problem:
It seems that the following line of code does not work in CodeBench, but in CubicIDE:
Code: Select all
Const #HEADCOLOR = $003388
TextOut(0,0,"[color=#HEADCOLOR]test[/color]")
In Codebench, it only works, if I replace the constant in TextOut-Object with its definition. So the following code works also in Codebench. What's the problem here?
Code: Select all
Debugprint("color="..#HEADCOLOR)
TextOut(0,0,"[color=$003388]test[/color]")
When I'm more familiar with Codebench, I will give a report what I like and what I don't like. At the moment, there're some things which I more like in CubicIDE and hw4cubic addon, but there're also some things, which are pretty handy in Codebench.
regards, Tom