Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Loop all pairs

Name: Anonymous 2012-02-05 12:30

Let's say I have this array:

{a, b, c, d, e}

How can I look through all the possible pairs?

a, b
a, c
a, d
a, e
b, c
b, d
b, e
c, d
c, e
d, e

Fictional language syntax please.

Name: Anonymous 2012-02-05 12:34

>fictional language syntax please

Okay. Here's how to do it in my new language.

fsdfSDFsf4r466HGFJGHU7ghjghjgVCVXCVXCVXCVty45ty~~~~~~~~~ERTerertdtdrtetrsegdfG~G@G>>>SDFSD:FALDSLFG&&GGEEEEREE0xFFFFFFFFFFFFFAGGOTsdfsddlfldfldkfldkfkdlfkfkfkfkfF??fd!!!¬¬¬.call(2112);999999999999999999999999999999999999999=2</html>

Just kidding, it's perl.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List