Hi Stephan,

I agree, using enums here makes sense.

Best regards,
Jerome


2008/1/11, Stephan Koops <[EMAIL PROTECTED]>:
>
> What about using the enum instead of ints for the result? They are
> founded for this feature. ints can be directly compared ( if(result >=
> SKIP) or something like that). I don't know if it is possible for enums.
>
> Stephan
>
> Jerome Louvel schrieb:
> > Instead, we could become more precise and return an int with
> > associated constants (CONTINUE | SKIP | STOP) or (DO | AFTER |
> > RETURN). What that solve your use case nicely?
>

Reply via email to