Browse files

fix argv example

  • Loading branch information...
1 parent c97564c commit 49778432055ecc24a528f9e5330f5954c1539bdf @bakkdoor committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/argv.fy
View
2 examples/argv.fy
@@ -3,6 +3,6 @@
"This will always get printed, even when required from another file" println
-if: (ARGV[0] == __FILE__) then: {
+__FILE__ if_main: {
"This will get printed, if this file is directly run with fancy" println
}

0 comments on commit 4977843

Please sign in to comment.