Wait Command Request

hippy

Ex-Staff (retired)
With the enhanced compilers, we've gone from -<code><pre><font size=2 face='Courier'> WaitLoop:
If <i>condition </i> Then WaitLoop </font></pre></code> to -<code><pre><font size=2 face='Courier'> Do While <i>condition </i>
Loop </font></pre></code> or -<code><pre><font size=2 face='Courier'> Do
Loop Until <i>condition </i> </font></pre></code> Would it be possible to now extend the Wait command to make these dummy 'do nothing' waits into something which is much more easily comprehensible ... ?<code><pre><font size=2 face='Courier'> Wait While <i>condition </i>
Wait Until <i>condition </i>
Wait <i>time </i> </font></pre></code> Although Wait is already taken as a command name, it shouldn't prove too confusing, and as a 'helper command' it's only a compiler change which will work with all existing firmware.

Edited by - hippy on 14/05/2007 18:16:31
 
Top