diff --git a/src/main/resources/doc/ij1macro/functions_extd.html b/src/main/resources/doc/ij1macro/functions_extd.html
index efff78f6c..75ecddbaa 100644
--- a/src/main/resources/doc/ij1macro/functions_extd.html
+++ b/src/main/resources/doc/ij1macro/functions_extd.html
@@ -15,7 +15,7 @@
All commands inside an else block are executed if the expression in the earlier if block is false.
-filelist = getFileList(directory)
for (i = 0; i < lengthOf(filelist); i++) {
if (endsWith(filelist[i], ".tif")) {
open(directory + File.separator + filelist[i]);
}
}
+filelist = getFileList(directory);
for (i = 0; i < lengthOf(filelist); i++) {
if (endsWith(filelist[i], ".tif")) {
open(directory + File.separator + filelist[i]);
}
}
A for loop which opens all files ending with ".tif" in a folder.