Help for this page

Select Code to Download


  1. or download this
    my $n = 4;
    for my $i (1..2**$n-1) {
    ...
            } # end-if
        } # end-for
    } # end-for
    
  2. or download this
    if ($i & 2**$j) {
    } # end-if
    
  3. or download this
    if ($i == 2**$j) {
    } # end-if