Skip to content

Commit

Permalink
Typo in foreach examples()
Browse files Browse the repository at this point in the history
'a' instead of 'as'
  • Loading branch information
Ecconia committed Sep 5, 2017
1 parent 9269836 commit 62ccc57
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -853,7 +853,7 @@ public ExampleScript[] examples() throws ConfigCompileException {
+ "foreach(@key: @value in @array){\n"
+ "\tmsg(@key . ': ' . @value);\n"
+ "}"),
new ExampleScript("Using \"a\" keyword", "@array = array(1, 2, 3);\n"
new ExampleScript("Using \"as\" keyword", "@array = array(1, 2, 3);\n"
+ "foreach(@array as @value){\n"
+ "\tmsg(@value);\n"
+ "}"),
Expand Down

0 comments on commit 62ccc57

Please sign in to comment.