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

[REBOL] Antwort: Re: (No subject)Date: Wed, 22 Nov 2000 00:30:29 +1100

From: sharriff:aina:med-iq at: 21-Nov-2000 14:48

..err Brett, it took me so long to decide whether to ask, since I thought it would be too embarrasing. But alas! no matter how hard I squint at this snippet, the less I understand. I tried it out in the console, it works, but the value that makes the "print" switch baffles me... either checks to see if " row-colour " is eqaul to " 'blue " right? but row-clour has already been passed the reference to 'blue so it should always be true?????!! Please bear with me Sharriff Aina information & quality in healthcare AG "Brett Handley" <[brett--codecons] An: <[rebol-list--rebol--com]>> Kopie: Gesendet von: Thema: [REBOL] Re: (No subject)Date: Wed, 22 Nov 2000 00:30:29 +1100 [rebol-bounce--re] 21.11.00 13:30 Bitte antworten an rebol-list row-colour: 'blue for row 1 10 1 [ print row-colour row-colour: either equal? row-colour 'blue ['black]['blue] ] Brett. g'nite... ----- Original Message ----- From: <[Sharriff--Aina--med-iq--de]> To: <[rebol-list--rebol--com]> Sent: Tuesday, November 21, 2000 10:21 PM Subject: [REBOL] I use forms to display my results in my simple Bulletin-Board, this approach is not very "Space economical", i would like to output the output in alternating background colours. Does anyone one have an algorithm that alternates for a given value an output? example bulletin: [ [article one] [article two] .......[article n ] ] for every aticle print alternating table rows with diffrent colours I have tried to peek the code in Free Bullein-boards but they were in PERL, which I donīt speak at all. Cheers Sharriff Aina