Magic squares of doubly even order: Difference between revisions
Content added Content deleted
(→{{header|AWK}}: Added AWK example) |
m (→{{header|AWK}}: Changed wording in explanation) |
||
Line 394: | Line 394: | ||
=={{header|AWK}}== |
=={{header|AWK}}== |
||
{{trans|C#}} |
{{trans|C#}} |
||
Since |
Since standard awk does not support bitwise operators, we provide the function countup to do the magic. |
||
<lang AWK># Usage: GAWK -f MAGIC_SQUARES_OF_DOUBLY_EVEN_ORDER.AWK |
<lang AWK># Usage: GAWK -f MAGIC_SQUARES_OF_DOUBLY_EVEN_ORDER.AWK |
||
BEGIN { |
BEGIN { |