"Roman Reiner" <lim### [at] gmxde> wrote:
> "bone_bone" <bon### [at] webde> wrote:
> > so i try to do with "while":
>
> You're misusing #while. A while-loop repeatedly executes the code inside it
> while (hence the name) the condition is true. What you are looking for is
> #if/#else e.g.
>
> #if(clock<6)
> // <6
> #else
> #if (clock>9)
> // >9
> #else
> // >6 and <9
> #end
> #end
thank you! i haven't seen you message but thats what i have done now, too! ;)
Post a reply to this message
|