Difference between revisions of "User:Hajo/test1"

From Minetest Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
==Table-test==
 
==Table-test==
  
10x10
+
===10x10===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 26: Line 26:
 
| :: || j0 || j1 || j1 || j1 || j1 || j1 || j1 || j1 || j1 || j0
 
| :: || j0 || j1 || j1 || j1 || j1 || j1 || j1 || j1 || j1 || j0
 
|}
 
|}
 +
 +
===Lua===
 +
https://www.lua.org/cgi-bin/demo
 +
 +
for y = -200, 200, 20 do
 +
for x = -200, 200, 20 do
 +
  print(x,y)
 +
end
 +
end

Revision as of 09:36, 14 February 2017

Table-test

10x10

__ AA BB CC DD EE FF GG HH II JJ
:: a1 b1 c1 d1 e1 f1 g1 h1 i1 j1
:: a2 b2 c2 d2 e2 f2 g2 h2 i2 j2
:: a3 b3 c3 d3 e3 f3 g3 h3 i3 j3
:: d4 d1 d1 d1 d1 d1 d1 d1 d1 d4
:: e5 e1 e1 e1 e1 e1 e1 e1 e1 e5
:: f6 f1 f1 f1 f1 f1 f1 f1 f1 f6
:: g7 g1 g1 g1 g1 g1 g1 g1 g1 g7
:: h8 h1 h1 h1 h1 h1 h1 h1 h1 h8
:: i9 i1 i1 i1 i1 i1 i1 i1 i1 i9
:: j0 j1 j1 j1 j1 j1 j1 j1 j1 j0

Lua

https://www.lua.org/cgi-bin/demo

for y = -200, 200, 20 do
for x = -200, 200, 20 do
  print(x,y)
end
end