aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/end.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-20 23:31:55 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-20 23:31:55 +1000
commit7ddecde54372c25fcf526e2d24807c5dac9800aa (patch)
tree1bff6e0ccd096836adb74529d53a6debcf45375b /doc_src/end.txt
parent149594f974350bb364a76c73b91b1d5ffddaa1fa (diff)
Add subdirectories
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
Diffstat (limited to 'doc_src/end.txt')
-rw-r--r--doc_src/end.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc_src/end.txt b/doc_src/end.txt
new file mode 100644
index 00000000..0385982b
--- /dev/null
+++ b/doc_src/end.txt
@@ -0,0 +1,13 @@
+\section end end - end a block of commands.
+
+\subsection end-synopsis Synopsis
+<pre>for VARNAME in [VALUES...]; COMMANDS; end
+if CONDITION; COMMAND_TRUE [else; COMMAND_FALSE] end
+while CONDITION; COMMANDS; end
+switch VALUE; [case [WILDCARD...]; [COMMANDS...];...] end
+</pre>
+
+\subsection end-description Description
+<tt>end</tt> ends a block of commands. For more information, read the
+documentation for the block constructs, such as \c if, \c for and \
+while.