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: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to