The nested list construction version of that is:
llList = []
repeat with a = 0 to 1
repeat with b = 0 to 1
repeat with c = 0 to 1
repeat with d = 0 to 1
repeat with e = 0 to 1
llList.add([a,b,c,d,e])
end repeat
end repeat
end repeat
end repeat
end repeat
Christopher Watson
Sr. Software Engineer
Lightspan, Inc.
-----Original Message-----
From: Roy Crisman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> looking for lingo trick
Hope I'm not doing your homework for you.
repeat with a = 0 to 1
repeat with b = 0 to 1
repeat with c = 0 to 1
repeat with d = 0 to 1
repeat with e = 0 to 1
put a,b,c,d,e
end repeat
end repeat
end repeat
end repeat
end repeat
that'll not only give you all combinations (with no repeats), but it does
it by counting upwards by 1 in binary
roymeo
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]