Permalink
Browse files

Typo in foreach examples()

'a' instead of 'as'
  • Loading branch information...
Ecconia committed Sep 5, 2017
1 parent 9269836 commit 62ccc5788cf28eb4b5f782c251f18b3c47bfb5a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/laytonsmith/core/functions/DataHandling.java
@@ -853,7 +853,7 @@ public boolean useSpecialExec() {
+ "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"
+ "}"),

0 comments on commit 62ccc57

Please sign in to comment.