|
![](/i/fill.gif) |
> High!
>
> To differentiate multiple camera views according to the clock variable,
> I set up a logical structure consisting of nested #switch...#end blocks
> - only two levels deep, but a strange effect always occurred: when the
> inner #switch block is reached, only either the first or the last
> alternative is chosen, but not the ones in between. With this test
> script, this means if I start with +k1.1 or +k1.2, I always only got
> "One point ????" as #warning output... and, strangely, obviously line 2
> is interpreted correctly (see output in line 4)! Is this a bug actually?
It could be floating point round-off error. If you absolutely,
positively expect it to be an integer, you really need to put floor()
around any fraction multiplied by anything else.
Regards,
John
Post a reply to this message
|
![](/i/fill.gif) |