User:Equinox/SuckingAtLua
See also: Lua manual for MediaWiki
Hello world
Hello, world! I hate you, is this going to be like Linux all over again
What if we call something that doesn't return a string
4
What if we call something that doesn't return ANYTHING
What if we count stuff in a loop though, what then??
180
But what if I divide by zero, like a sexy beast
inf
Dividing by zero is obviously easy and works, what if we explicitly throw though
Lua error in Module:User:Equinox/LuaTest at line 30: L Break into program, 0:1
How do we do a try-catch. "pcall" is a terrible name for this, it's all backwards
Lua error in Module:User:Equinox/LuaTest at line 30: L Break into program, 0:1
What if we try to eat all the CPU though
Okay I removed this because it took seconds to give up, and I felt bad.
What if: we try to grab a (delicious) entry
Removed because it causes this page to add itself to "Category:en:Prunus genus plants", lol.