Is there some easy way to break from compile-time loops?
I've searched hla documentation, but didn't found any.
Changing the value of loop-control variable is not good i think
and often i would want to know its value when loop terminates.
Is it possible to add directives such #break,#breakif?
Posted on 2004-03-26 04:13:23 by Elohim Meth

Is there some easy way to break from compile-time loops?
I've searched hla documentation, but didn't found any.
Changing the value of loop-control variable is not good i think
and often i would want to know its value when loop terminates.
Is it possible to add directives such #break,#breakif?


This sounds like a good feature to put into HLA v2.0. Given the complexity of compile-time loops in HLA v1.x (due to the implementation in Flex/Bison), I doubt I would put such a feature in HLA v1.x, but v2.0 is certainly doable.
Cheers,
Randy Hyde
Posted on 2004-04-07 13:57:55 by rhyde