Howdy. I have a quick question here which isn't purely REBOL. I'm trying to 
convert some javascript into REBOL, though, and came across something I'm 
uncertain of:

      int dn=dr;{while (dr==dn || dr==dj || dr==du){dr=(int)random(8)+1;}}

Why is the while wrapped in brackets? What does this do?

It's been about 6 or so years since I worked in Java or C/++ - never really did 
javascript at all, but the majority of it is easily deciphered. This however 
has me temporarily confused. Appreciate any info. Thanks.

--Charles
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to