Title: Repeat, Johs Dye
You must include a contition that will make the repeat stop.
Like this
put “1” into varMyNumber
repeat until varMyNumber is 5
hide fld “Main”
add 1 to varMyNumber
end repeat
This would repeat your example 5 times ... but in this example doing it once would be enough. But if you want the field to flash you could do like this:
put “0” into varMyNumber
repeat until varMyNumber is 5
hide fld “Main”
wait 15
show fld “Main”
wait 15
hide fld “Main”
wait 15
add 1 to varMyNumber
end repeat
in this case leaving the field hidden
And you can of course use other parameters/condtions than numbers. Like the time or ...
Best regards
Carsten
>I don't understand the repeat command at all! How would you make is so it
>will show and hide a Field on repeat? Like,
>show fld "Main"
>wait 1 second with messages
>hide fld "Main"
>I want it to repeat that. Thanks!
> - Josh Dye
