summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luaintro/08-01-8.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luaintro/08-01-8.lua')
-rw-r--r--Master/texmf-dist/doc/luatex/luaintro/08-01-8.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luaintro/08-01-8.lua b/Master/texmf-dist/doc/luatex/luaintro/08-01-8.lua
new file mode 100644
index 00000000000..2eafc4c3756
--- /dev/null
+++ b/Master/texmf-dist/doc/luatex/luaintro/08-01-8.lua
@@ -0,0 +1,10 @@
+Wtage={"Sonntag", "Montag", "Dienstag","Mittwoch",
+ "Donnerstag", "Freitag", "Samstag"}
+WtagNr={} -- neue Tabelle
+for v,w in pairs(Wtage) do
+ WtagNr[w] = v
+end
+for i,j in pairs(WtagNr) do
+ print(string.format("%10s: %2i",i,j))
+end
+print(i,j) -- nicht definiert