Re-ordered function definitions.
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 26 Aug 2012 04:44:33 +0000 (00:44 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 26 Aug 2012 04:44:33 +0000 (00:44 -0400)
004/life.awk

index ff80828..c996455 100755 (executable)
@@ -22,14 +22,6 @@ function get_init_board(n) {
 }
 
 
-function do_print_border(x) {
-    for (i=1; i <= x; i++) {
-        printf CHAR_BORDER()
-    };
-    print;
-}
-
-
 function get_char_of_state(state) {
     if (state == 1) {
         return CHAR_ALIVE()
@@ -39,6 +31,14 @@ function get_char_of_state(state) {
 }
 
 
+function do_print_border(x) {
+    for (i=1; i <= x; i++) {
+        printf CHAR_BORDER()
+    };
+    print;
+}
+
+
 function do_print_board(x, n, board) {
     do_print_border(x);
 
This page took 0.020732 seconds and 4 git commands to generate.