viewing paste Unknown #6120 | Text

Posted on the
1 2 3 4 5 6 7 8
for(set .@i, 0; .@i < 4; set .@i, .@i + 1) {
    setarray .@array[.@i], rand(4);
    for(set .@j, 0; .@j < getarraysize(.@array); set .@j, .@j + 1) {
        if(.@array[.@j] == .@i) {
            setarray .@array[.@i], rand(4);
        }
    }
}
Viewed 608 times, submitted by Guest.