Commits

Anonymous committed f74557b

Fix some of the example programs.

Comments (0)

Files changed (7)

 
 Ack = ^ M, N {
     if M = Zero
-	Return N + One
+	return N + One
     else if N = Zero
-	Return Ack(M - One, One)
+	return Ack(M - One, One)
     else
-        Return Ack(M - One, Ack(M, (N - One)))
+        return Ack(M - One, Ack(M, (N - One)))
 }
 
 Num = 7
     if I > 30
       Print "*"
     else
-      Print "."
+      Print "/"
     I = I + 1
   }
 }
 F = ^ M,N {
-  Print "Hello from F", EoL, M, EoL, N, Eol, "Goodbye from F", EoL
+  Print "Hello from F", EoL, M, EoL, N, EoL, "Goodbye from F", EoL
   return M + N
 }
 
 F = ^{
   T = 123
-  Return ^{ Return 17 }
+  return ^{ return 17 }
 }
 
 Print F, EoL
     Print "Q is ", Q, EoL
   }
   G;
-  Return G
+  return G
 }
 
 G = F()
   G;
   Q = 23;
   G;
-  Return G
+  return G
 }
 
 G = F()
 F = ^{
   Q = 17
-  Return ^{ T = 0 Print Q, EoL }
+  return ^{ T = 0 Print Q, EoL }
 }
 
 X = 10
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.