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

[REBOL] Newbie question

From: cyoungbl:legato at: 3-Aug-2001 11:37

Hello. I decided that as my first experience with REBOL, I want to create a simple chess game. I'm in the process of creating the chess board. Here is the code I'm using: mylayout: [ across space 0x0 ] loop 4 [ loop 4 [ append mylayout [ box red 50x50 ] append mylayout [ box black 50x50 ] ] append mylayout 'return loop 4 [ append mylayout [ box black 50x50 ] append mylayout [ box red 50x50 ] ] append mylayout 'return ] view layout mylayout This works, but can somebody tell me if this is the "REBOL way" of doing things? Is there a more efficient way of accomplishing the same thing? Thanks, Carl Youngblood