Permalink
Browse files

Merge pull request #460 from Ecconia/master

Typo in foreach examples()
  • Loading branch information...
LadyCailin committed Sep 5, 2017
2 parents 9269836 + 62ccc57 commit 14c29f27b9f1f8ae3e7718efe28f8b97a4ff7f56
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 14c29f2

Please sign in to comment.