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 At 08:24 PM 10/24/01 +0100, you wrote: >I have 5 variables (a,b,c,d,e) >and every variable can be either TRUE (1) >or FALSE (0). > >I NEED A LIST OF ALL THE POSSIBLE COMBINATION THAT I >CAN ACHIEVE: > >I.E. >------------------ > >>a,b,c,d,e >------------------ > >>0,0,0,0,0 > >>1,0,0,0,0 > >>1,1,0,0,0 > >>1,1,1,0,0 > >etc.... > >Can someone please help me compiling this list with a >cute piece of lingo? > >Thanks, > >Dan. > >____________________________________________________________ >Nokia Game is on again. >Go to http://uk.yahoo.com/nokiagame/ and join the new >all media adventure before November 3rd. > >[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!] ----- Roy Crisman Senior Macromedia Programmer (716)724-4054 [EMAIL PROTECTED] [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!]
