Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Quick javascript->rebol question

From: shiningray::nirvana::gmail::com at: 12-Oct-2005 17:08

Of course, you can remove them. 2005/10/9, Charles <[chalz--earthlink--net]>:
> 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 with unsubscribe as the subject. >
-- From <a href="">ShiningRay</a> @ <a href="">NirvanaStudio</a>