[e16e8f2] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <HTML> |
---|
| 3 | <HEAD> |
---|
| 4 | <TITLE>Lua 5.2 Reference Manual - contents</TITLE> |
---|
| 5 | <LINK REL="stylesheet" TYPE="text/css" HREF="lua.css"> |
---|
| 6 | <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> |
---|
| 7 | <STYLE TYPE="text/css"> |
---|
| 8 | ul { |
---|
| 9 | list-style-type: none ; |
---|
| 10 | list-style-position: outside ; |
---|
| 11 | } |
---|
| 12 | </STYLE> |
---|
| 13 | </HEAD> |
---|
| 14 | |
---|
| 15 | <BODY> |
---|
| 16 | |
---|
| 17 | <HR> |
---|
| 18 | <H1> |
---|
| 19 | <A HREF="http://www.lua.org/"><IMG SRC="logo.gif" ALT="" BORDER=0></A> |
---|
| 20 | Lua 5.2 Reference Manual |
---|
| 21 | </H1> |
---|
| 22 | |
---|
| 23 | <P> |
---|
| 24 | The reference manual is the official definition of the Lua language. |
---|
| 25 | For a complete introduction to Lua programming, see the book |
---|
| 26 | <A HREF="http://www.lua.org/pil/">Programming in Lua</A>. |
---|
| 27 | |
---|
| 28 | <P> |
---|
| 29 | <A HREF="manual.html">start</A> |
---|
| 30 | · |
---|
| 31 | <A HREF="#contents">contents</A> |
---|
| 32 | · |
---|
| 33 | <A HREF="#index">index</A> |
---|
| 34 | <HR> |
---|
| 35 | <SMALL> |
---|
| 36 | Copyright © 2011–2013 Lua.org, PUC-Rio. |
---|
| 37 | Freely available under the terms of the |
---|
| 38 | <A HREF="http://www.lua.org/license.html">Lua license</A>. |
---|
| 39 | </SMALL> |
---|
| 40 | |
---|
| 41 | <H2><A NAME="contents">Contents</A></H2> |
---|
| 42 | <UL style="padding: 0"> |
---|
| 43 | <LI><A HREF="manual.html">1 – Introduction</A> |
---|
| 44 | <P> |
---|
| 45 | <LI><A HREF="manual.html#2">2 – Basic Concepts</A> |
---|
| 46 | <UL> |
---|
| 47 | <LI><A HREF="manual.html#2.1">2.1 – Values and Types</A> |
---|
| 48 | <LI><A HREF="manual.html#2.2">2.2 – Environments and the Global Environment</A> |
---|
| 49 | <LI><A HREF="manual.html#2.3">2.3 – Error Handling</A> |
---|
| 50 | <LI><A HREF="manual.html#2.4">2.4 – Metatables and Metamethods</A> |
---|
| 51 | <LI><A HREF="manual.html#2.5">2.5 – Garbage Collection</A> |
---|
| 52 | <UL> |
---|
| 53 | <LI><A HREF="manual.html#2.5.1">2.5.1 – Garbage-Collection Metamethods</A> |
---|
| 54 | <LI><A HREF="manual.html#2.5.2">2.5.2 – Weak Tables</A> |
---|
| 55 | </UL> |
---|
| 56 | <LI><A HREF="manual.html#2.6">2.6 – Coroutines</A> |
---|
| 57 | </UL> |
---|
| 58 | <P> |
---|
| 59 | <LI><A HREF="manual.html#3">3 – The Language</A> |
---|
| 60 | <UL> |
---|
| 61 | <LI><A HREF="manual.html#3.1">3.1 – Lexical Conventions</A> |
---|
| 62 | <LI><A HREF="manual.html#3.2">3.2 – Variables</A> |
---|
| 63 | <LI><A HREF="manual.html#3.3">3.3 – Statements</A> |
---|
| 64 | <UL> |
---|
| 65 | <LI><A HREF="manual.html#3.3.1">3.3.1 – Blocks</A> |
---|
| 66 | <LI><A HREF="manual.html#3.3.2">3.3.2 – Chunks</A> |
---|
| 67 | <LI><A HREF="manual.html#3.3.3">3.3.3 – Assignment</A> |
---|
| 68 | <LI><A HREF="manual.html#3.3.4">3.3.4 – Control Structures</A> |
---|
| 69 | <LI><A HREF="manual.html#3.3.5">3.3.5 – For Statement</A> |
---|
| 70 | <LI><A HREF="manual.html#3.3.6">3.3.6 – Function Calls as Statements</A> |
---|
| 71 | <LI><A HREF="manual.html#3.3.7">3.3.7 – Local Declarations</A> |
---|
| 72 | </UL> |
---|
| 73 | <LI><A HREF="manual.html#3.4">3.4 – Expressions</A> |
---|
| 74 | <UL> |
---|
| 75 | <LI><A HREF="manual.html#3.4.1">3.4.1 – Arithmetic Operators</A> |
---|
| 76 | <LI><A HREF="manual.html#3.4.2">3.4.2 – Coercion</A> |
---|
| 77 | <LI><A HREF="manual.html#3.4.3">3.4.3 – Relational Operators</A> |
---|
| 78 | <LI><A HREF="manual.html#3.4.4">3.4.4 – Logical Operators</A> |
---|
| 79 | <LI><A HREF="manual.html#3.4.5">3.4.5 – Concatenation</A> |
---|
| 80 | <LI><A HREF="manual.html#3.4.6">3.4.6 – The Length Operator</A> |
---|
| 81 | <LI><A HREF="manual.html#3.4.7">3.4.7 – Precedence</A> |
---|
| 82 | <LI><A HREF="manual.html#3.4.8">3.4.8 – Table Constructors</A> |
---|
| 83 | <LI><A HREF="manual.html#3.4.9">3.4.9 – Function Calls</A> |
---|
| 84 | <LI><A HREF="manual.html#3.4.10">3.4.10 – Function Definitions</A> |
---|
| 85 | </UL> |
---|
| 86 | <LI><A HREF="manual.html#3.5">3.5 – Visibility Rules</A> |
---|
| 87 | </UL> |
---|
| 88 | <P> |
---|
| 89 | <LI><A HREF="manual.html#4">4 – The Application Program Interface</A> |
---|
| 90 | <UL> |
---|
| 91 | <LI><A HREF="manual.html#4.1">4.1 – The Stack</A> |
---|
| 92 | <LI><A HREF="manual.html#4.2">4.2 – Stack Size</A> |
---|
| 93 | <LI><A HREF="manual.html#4.3">4.3 – Valid and Acceptable Indices</A> |
---|
| 94 | <LI><A HREF="manual.html#4.4">4.4 – C Closures</A> |
---|
| 95 | <LI><A HREF="manual.html#4.5">4.5 – Registry</A> |
---|
| 96 | <LI><A HREF="manual.html#4.6">4.6 – Error Handling in C</A> |
---|
| 97 | <LI><A HREF="manual.html#4.7">4.7 – Handling Yields in C</A> |
---|
| 98 | <LI><A HREF="manual.html#4.8">4.8 – Functions and Types</A> |
---|
| 99 | <LI><A HREF="manual.html#4.9">4.9 – The Debug Interface</A> |
---|
| 100 | </UL> |
---|
| 101 | <P> |
---|
| 102 | <LI><A HREF="manual.html#5">5 – The Auxiliary Library</A> |
---|
| 103 | <UL> |
---|
| 104 | <LI><A HREF="manual.html#5.1">5.1 – Functions and Types</A> |
---|
| 105 | </UL> |
---|
| 106 | <P> |
---|
| 107 | <LI><A HREF="manual.html#6">6 – Standard Libraries</A> |
---|
| 108 | <UL> |
---|
| 109 | <LI><A HREF="manual.html#6.1">6.1 – Basic Functions</A> |
---|
| 110 | <LI><A HREF="manual.html#6.2">6.2 – Coroutine Manipulation</A> |
---|
| 111 | <LI><A HREF="manual.html#6.3">6.3 – Modules</A> |
---|
| 112 | <LI><A HREF="manual.html#6.4">6.4 – String Manipulation</A> |
---|
| 113 | <UL> |
---|
| 114 | <LI><A HREF="manual.html#6.4.1">6.4.1 – Patterns</A> |
---|
| 115 | </UL> |
---|
| 116 | <LI><A HREF="manual.html#6.5">6.5 – Table Manipulation</A> |
---|
| 117 | <LI><A HREF="manual.html#6.6">6.6 – Mathematical Functions</A> |
---|
| 118 | <LI><A HREF="manual.html#6.7">6.7 – Bitwise Operations</A> |
---|
| 119 | <LI><A HREF="manual.html#6.8">6.8 – Input and Output Facilities</A> |
---|
| 120 | <LI><A HREF="manual.html#6.9">6.9 – Operating System Facilities</A> |
---|
| 121 | <LI><A HREF="manual.html#6.10">6.10 – The Debug Library</A> |
---|
| 122 | </UL> |
---|
| 123 | <P> |
---|
| 124 | <LI><A HREF="manual.html#7">7 – Lua Standalone</A> |
---|
| 125 | <P> |
---|
| 126 | <LI><A HREF="manual.html#8">8 – Incompatibilities with the Previous Version</A> |
---|
| 127 | <UL> |
---|
| 128 | <LI><A HREF="manual.html#8.1">8.1 – Changes in the Language</A> |
---|
| 129 | <LI><A HREF="manual.html#8.2">8.2 – Changes in the Libraries</A> |
---|
| 130 | <LI><A HREF="manual.html#8.3">8.3 – Changes in the API</A> |
---|
| 131 | </UL> |
---|
| 132 | <P> |
---|
| 133 | <LI><A HREF="manual.html#9">9 – The Complete Syntax of Lua</A> |
---|
| 134 | </UL> |
---|
| 135 | |
---|
| 136 | <H2><A NAME="index">Index</A></H2> |
---|
| 137 | <TABLE WIDTH="100%"> |
---|
| 138 | <TR VALIGN="top"> |
---|
| 139 | <TD> |
---|
| 140 | <H3><A NAME="functions">Lua functions</A></H3> |
---|
| 141 | <P> |
---|
| 142 | <A HREF="manual.html#pdf-_G">_G</A><BR> |
---|
| 143 | <A HREF="manual.html#pdf-_VERSION">_VERSION</A><BR> |
---|
| 144 | |
---|
| 145 | <P> |
---|
| 146 | <A HREF="manual.html#pdf-assert">assert</A><BR> |
---|
| 147 | <A HREF="manual.html#pdf-collectgarbage">collectgarbage</A><BR> |
---|
| 148 | <A HREF="manual.html#pdf-dofile">dofile</A><BR> |
---|
| 149 | <A HREF="manual.html#pdf-error">error</A><BR> |
---|
| 150 | <A HREF="manual.html#pdf-getmetatable">getmetatable</A><BR> |
---|
| 151 | <A HREF="manual.html#pdf-ipairs">ipairs</A><BR> |
---|
| 152 | <A HREF="manual.html#pdf-load">load</A><BR> |
---|
| 153 | <A HREF="manual.html#pdf-loadfile">loadfile</A><BR> |
---|
| 154 | <A HREF="manual.html#pdf-next">next</A><BR> |
---|
| 155 | <A HREF="manual.html#pdf-pairs">pairs</A><BR> |
---|
| 156 | <A HREF="manual.html#pdf-pcall">pcall</A><BR> |
---|
| 157 | <A HREF="manual.html#pdf-print">print</A><BR> |
---|
| 158 | <A HREF="manual.html#pdf-rawequal">rawequal</A><BR> |
---|
| 159 | <A HREF="manual.html#pdf-rawget">rawget</A><BR> |
---|
| 160 | <A HREF="manual.html#pdf-rawlen">rawlen</A><BR> |
---|
| 161 | <A HREF="manual.html#pdf-rawset">rawset</A><BR> |
---|
| 162 | <A HREF="manual.html#pdf-require">require</A><BR> |
---|
| 163 | <A HREF="manual.html#pdf-select">select</A><BR> |
---|
| 164 | <A HREF="manual.html#pdf-setmetatable">setmetatable</A><BR> |
---|
| 165 | <A HREF="manual.html#pdf-tonumber">tonumber</A><BR> |
---|
| 166 | <A HREF="manual.html#pdf-tostring">tostring</A><BR> |
---|
| 167 | <A HREF="manual.html#pdf-type">type</A><BR> |
---|
| 168 | <A HREF="manual.html#pdf-xpcall">xpcall</A><BR> |
---|
| 169 | |
---|
| 170 | <P> |
---|
| 171 | <A HREF="manual.html#pdf-bit32.arshift">bit32.arshift</A><BR> |
---|
| 172 | <A HREF="manual.html#pdf-bit32.band">bit32.band</A><BR> |
---|
| 173 | <A HREF="manual.html#pdf-bit32.bnot">bit32.bnot</A><BR> |
---|
| 174 | <A HREF="manual.html#pdf-bit32.bor">bit32.bor</A><BR> |
---|
| 175 | <A HREF="manual.html#pdf-bit32.btest">bit32.btest</A><BR> |
---|
| 176 | <A HREF="manual.html#pdf-bit32.bxor">bit32.bxor</A><BR> |
---|
| 177 | <A HREF="manual.html#pdf-bit32.extract">bit32.extract</A><BR> |
---|
| 178 | <A HREF="manual.html#pdf-bit32.lrotate">bit32.lrotate</A><BR> |
---|
| 179 | <A HREF="manual.html#pdf-bit32.lshift">bit32.lshift</A><BR> |
---|
| 180 | <A HREF="manual.html#pdf-bit32.replace">bit32.replace</A><BR> |
---|
| 181 | <A HREF="manual.html#pdf-bit32.rrotate">bit32.rrotate</A><BR> |
---|
| 182 | <A HREF="manual.html#pdf-bit32.rshift">bit32.rshift</A><BR> |
---|
| 183 | |
---|
| 184 | <P> |
---|
| 185 | <A HREF="manual.html#pdf-coroutine.create">coroutine.create</A><BR> |
---|
| 186 | <A HREF="manual.html#pdf-coroutine.resume">coroutine.resume</A><BR> |
---|
| 187 | <A HREF="manual.html#pdf-coroutine.running">coroutine.running</A><BR> |
---|
| 188 | <A HREF="manual.html#pdf-coroutine.status">coroutine.status</A><BR> |
---|
| 189 | <A HREF="manual.html#pdf-coroutine.wrap">coroutine.wrap</A><BR> |
---|
| 190 | <A HREF="manual.html#pdf-coroutine.yield">coroutine.yield</A><BR> |
---|
| 191 | |
---|
| 192 | <P> |
---|
| 193 | <A HREF="manual.html#pdf-debug.debug">debug.debug</A><BR> |
---|
| 194 | <A HREF="manual.html#pdf-debug.getuservalue">debug.getuservalue</A><BR> |
---|
| 195 | <A HREF="manual.html#pdf-debug.gethook">debug.gethook</A><BR> |
---|
| 196 | <A HREF="manual.html#pdf-debug.getinfo">debug.getinfo</A><BR> |
---|
| 197 | <A HREF="manual.html#pdf-debug.getlocal">debug.getlocal</A><BR> |
---|
| 198 | <A HREF="manual.html#pdf-debug.getmetatable">debug.getmetatable</A><BR> |
---|
| 199 | <A HREF="manual.html#pdf-debug.getregistry">debug.getregistry</A><BR> |
---|
| 200 | <A HREF="manual.html#pdf-debug.getupvalue">debug.getupvalue</A><BR> |
---|
| 201 | <A HREF="manual.html#pdf-debug.setuservalue">debug.setuservalue</A><BR> |
---|
| 202 | <A HREF="manual.html#pdf-debug.sethook">debug.sethook</A><BR> |
---|
| 203 | <A HREF="manual.html#pdf-debug.setlocal">debug.setlocal</A><BR> |
---|
| 204 | <A HREF="manual.html#pdf-debug.setmetatable">debug.setmetatable</A><BR> |
---|
| 205 | <A HREF="manual.html#pdf-debug.setupvalue">debug.setupvalue</A><BR> |
---|
| 206 | <A HREF="manual.html#pdf-debug.traceback">debug.traceback</A><BR> |
---|
| 207 | <A HREF="manual.html#pdf-debug.upvalueid">debug.upvalueid</A><BR> |
---|
| 208 | <A HREF="manual.html#pdf-debug.upvaluejoin">debug.upvaluejoin</A><BR> |
---|
| 209 | |
---|
| 210 | <P> |
---|
| 211 | <A HREF="manual.html#pdf-file:close">file:close</A><BR> |
---|
| 212 | <A HREF="manual.html#pdf-file:flush">file:flush</A><BR> |
---|
| 213 | <A HREF="manual.html#pdf-file:lines">file:lines</A><BR> |
---|
| 214 | <A HREF="manual.html#pdf-file:read">file:read</A><BR> |
---|
| 215 | <A HREF="manual.html#pdf-file:seek">file:seek</A><BR> |
---|
| 216 | <A HREF="manual.html#pdf-file:setvbuf">file:setvbuf</A><BR> |
---|
| 217 | <A HREF="manual.html#pdf-file:write">file:write</A><BR> |
---|
| 218 | |
---|
| 219 | <P> |
---|
| 220 | <A HREF="manual.html#pdf-io.close">io.close</A><BR> |
---|
| 221 | <A HREF="manual.html#pdf-io.flush">io.flush</A><BR> |
---|
| 222 | <A HREF="manual.html#pdf-io.input">io.input</A><BR> |
---|
| 223 | <A HREF="manual.html#pdf-io.lines">io.lines</A><BR> |
---|
| 224 | <A HREF="manual.html#pdf-io.open">io.open</A><BR> |
---|
| 225 | <A HREF="manual.html#pdf-io.output">io.output</A><BR> |
---|
| 226 | <A HREF="manual.html#pdf-io.popen">io.popen</A><BR> |
---|
| 227 | <A HREF="manual.html#pdf-io.read">io.read</A><BR> |
---|
| 228 | <A HREF="manual.html#pdf-io.stderr">io.stderr</A><BR> |
---|
| 229 | <A HREF="manual.html#pdf-io.stdin">io.stdin</A><BR> |
---|
| 230 | <A HREF="manual.html#pdf-io.stdout">io.stdout</A><BR> |
---|
| 231 | <A HREF="manual.html#pdf-io.tmpfile">io.tmpfile</A><BR> |
---|
| 232 | <A HREF="manual.html#pdf-io.type">io.type</A><BR> |
---|
| 233 | <A HREF="manual.html#pdf-io.write">io.write</A><BR> |
---|
| 234 | |
---|
| 235 | </TD> |
---|
| 236 | <TD> |
---|
| 237 | <H3> </H3> |
---|
| 238 | <P> |
---|
| 239 | <A HREF="manual.html#pdf-math.abs">math.abs</A><BR> |
---|
| 240 | <A HREF="manual.html#pdf-math.acos">math.acos</A><BR> |
---|
| 241 | <A HREF="manual.html#pdf-math.asin">math.asin</A><BR> |
---|
| 242 | <A HREF="manual.html#pdf-math.atan">math.atan</A><BR> |
---|
| 243 | <A HREF="manual.html#pdf-math.atan2">math.atan2</A><BR> |
---|
| 244 | <A HREF="manual.html#pdf-math.ceil">math.ceil</A><BR> |
---|
| 245 | <A HREF="manual.html#pdf-math.cos">math.cos</A><BR> |
---|
| 246 | <A HREF="manual.html#pdf-math.cosh">math.cosh</A><BR> |
---|
| 247 | <A HREF="manual.html#pdf-math.deg">math.deg</A><BR> |
---|
| 248 | <A HREF="manual.html#pdf-math.exp">math.exp</A><BR> |
---|
| 249 | <A HREF="manual.html#pdf-math.floor">math.floor</A><BR> |
---|
| 250 | <A HREF="manual.html#pdf-math.fmod">math.fmod</A><BR> |
---|
| 251 | <A HREF="manual.html#pdf-math.frexp">math.frexp</A><BR> |
---|
| 252 | <A HREF="manual.html#pdf-math.huge">math.huge</A><BR> |
---|
| 253 | <A HREF="manual.html#pdf-math.ldexp">math.ldexp</A><BR> |
---|
| 254 | <A HREF="manual.html#pdf-math.log">math.log</A><BR> |
---|
| 255 | <A HREF="manual.html#pdf-math.max">math.max</A><BR> |
---|
| 256 | <A HREF="manual.html#pdf-math.min">math.min</A><BR> |
---|
| 257 | <A HREF="manual.html#pdf-math.modf">math.modf</A><BR> |
---|
| 258 | <A HREF="manual.html#pdf-math.pi">math.pi</A><BR> |
---|
| 259 | <A HREF="manual.html#pdf-math.pow">math.pow</A><BR> |
---|
| 260 | <A HREF="manual.html#pdf-math.rad">math.rad</A><BR> |
---|
| 261 | <A HREF="manual.html#pdf-math.random">math.random</A><BR> |
---|
| 262 | <A HREF="manual.html#pdf-math.randomseed">math.randomseed</A><BR> |
---|
| 263 | <A HREF="manual.html#pdf-math.sin">math.sin</A><BR> |
---|
| 264 | <A HREF="manual.html#pdf-math.sinh">math.sinh</A><BR> |
---|
| 265 | <A HREF="manual.html#pdf-math.sqrt">math.sqrt</A><BR> |
---|
| 266 | <A HREF="manual.html#pdf-math.tan">math.tan</A><BR> |
---|
| 267 | <A HREF="manual.html#pdf-math.tanh">math.tanh</A><BR> |
---|
| 268 | |
---|
| 269 | <P> |
---|
| 270 | <A HREF="manual.html#pdf-os.clock">os.clock</A><BR> |
---|
| 271 | <A HREF="manual.html#pdf-os.date">os.date</A><BR> |
---|
| 272 | <A HREF="manual.html#pdf-os.difftime">os.difftime</A><BR> |
---|
| 273 | <A HREF="manual.html#pdf-os.execute">os.execute</A><BR> |
---|
| 274 | <A HREF="manual.html#pdf-os.exit">os.exit</A><BR> |
---|
| 275 | <A HREF="manual.html#pdf-os.getenv">os.getenv</A><BR> |
---|
| 276 | <A HREF="manual.html#pdf-os.remove">os.remove</A><BR> |
---|
| 277 | <A HREF="manual.html#pdf-os.rename">os.rename</A><BR> |
---|
| 278 | <A HREF="manual.html#pdf-os.setlocale">os.setlocale</A><BR> |
---|
| 279 | <A HREF="manual.html#pdf-os.time">os.time</A><BR> |
---|
| 280 | <A HREF="manual.html#pdf-os.tmpname">os.tmpname</A><BR> |
---|
| 281 | |
---|
| 282 | <P> |
---|
| 283 | <A HREF="manual.html#pdf-package.config">package.config</A><BR> |
---|
| 284 | <A HREF="manual.html#pdf-package.cpath">package.cpath</A><BR> |
---|
| 285 | <A HREF="manual.html#pdf-package.loaded">package.loaded</A><BR> |
---|
| 286 | <A HREF="manual.html#pdf-package.loadlib">package.loadlib</A><BR> |
---|
| 287 | <A HREF="manual.html#pdf-package.path">package.path</A><BR> |
---|
| 288 | <A HREF="manual.html#pdf-package.preload">package.preload</A><BR> |
---|
| 289 | <A HREF="manual.html#pdf-package.searchers">package.searchers</A><BR> |
---|
| 290 | <A HREF="manual.html#pdf-package.searchpath">package.searchpath</A><BR> |
---|
| 291 | |
---|
| 292 | <P> |
---|
| 293 | <A HREF="manual.html#pdf-string.byte">string.byte</A><BR> |
---|
| 294 | <A HREF="manual.html#pdf-string.char">string.char</A><BR> |
---|
| 295 | <A HREF="manual.html#pdf-string.dump">string.dump</A><BR> |
---|
| 296 | <A HREF="manual.html#pdf-string.find">string.find</A><BR> |
---|
| 297 | <A HREF="manual.html#pdf-string.format">string.format</A><BR> |
---|
| 298 | <A HREF="manual.html#pdf-string.gmatch">string.gmatch</A><BR> |
---|
| 299 | <A HREF="manual.html#pdf-string.gsub">string.gsub</A><BR> |
---|
| 300 | <A HREF="manual.html#pdf-string.len">string.len</A><BR> |
---|
| 301 | <A HREF="manual.html#pdf-string.lower">string.lower</A><BR> |
---|
| 302 | <A HREF="manual.html#pdf-string.match">string.match</A><BR> |
---|
| 303 | <A HREF="manual.html#pdf-string.rep">string.rep</A><BR> |
---|
| 304 | <A HREF="manual.html#pdf-string.reverse">string.reverse</A><BR> |
---|
| 305 | <A HREF="manual.html#pdf-string.sub">string.sub</A><BR> |
---|
| 306 | <A HREF="manual.html#pdf-string.upper">string.upper</A><BR> |
---|
| 307 | |
---|
| 308 | <P> |
---|
| 309 | <A HREF="manual.html#pdf-table.concat">table.concat</A><BR> |
---|
| 310 | <A HREF="manual.html#pdf-table.insert">table.insert</A><BR> |
---|
| 311 | <A HREF="manual.html#pdf-table.pack">table.pack</A><BR> |
---|
| 312 | <A HREF="manual.html#pdf-table.remove">table.remove</A><BR> |
---|
| 313 | <A HREF="manual.html#pdf-table.sort">table.sort</A><BR> |
---|
| 314 | <A HREF="manual.html#pdf-table.unpack">table.unpack</A><BR> |
---|
| 315 | |
---|
| 316 | </TD> |
---|
| 317 | <TD> |
---|
| 318 | <H3>C API</H3> |
---|
| 319 | <P> |
---|
| 320 | <A HREF="manual.html#lua_Alloc">lua_Alloc</A><BR> |
---|
| 321 | <A HREF="manual.html#lua_CFunction">lua_CFunction</A><BR> |
---|
| 322 | <A HREF="manual.html#lua_Debug">lua_Debug</A><BR> |
---|
| 323 | <A HREF="manual.html#lua_Hook">lua_Hook</A><BR> |
---|
| 324 | <A HREF="manual.html#lua_Integer">lua_Integer</A><BR> |
---|
| 325 | <A HREF="manual.html#lua_Number">lua_Number</A><BR> |
---|
| 326 | <A HREF="manual.html#lua_Reader">lua_Reader</A><BR> |
---|
| 327 | <A HREF="manual.html#lua_State">lua_State</A><BR> |
---|
| 328 | <A HREF="manual.html#lua_Unsigned">lua_Unsigned</A><BR> |
---|
| 329 | <A HREF="manual.html#lua_Writer">lua_Writer</A><BR> |
---|
| 330 | |
---|
| 331 | <P> |
---|
| 332 | <A HREF="manual.html#lua_absindex">lua_absindex</A><BR> |
---|
| 333 | <A HREF="manual.html#lua_arith">lua_arith</A><BR> |
---|
| 334 | <A HREF="manual.html#lua_atpanic">lua_atpanic</A><BR> |
---|
| 335 | <A HREF="manual.html#lua_call">lua_call</A><BR> |
---|
| 336 | <A HREF="manual.html#lua_callk">lua_callk</A><BR> |
---|
| 337 | <A HREF="manual.html#lua_checkstack">lua_checkstack</A><BR> |
---|
| 338 | <A HREF="manual.html#lua_close">lua_close</A><BR> |
---|
| 339 | <A HREF="manual.html#lua_compare">lua_compare</A><BR> |
---|
| 340 | <A HREF="manual.html#lua_concat">lua_concat</A><BR> |
---|
| 341 | <A HREF="manual.html#lua_copy">lua_copy</A><BR> |
---|
| 342 | <A HREF="manual.html#lua_createtable">lua_createtable</A><BR> |
---|
| 343 | <A HREF="manual.html#lua_dump">lua_dump</A><BR> |
---|
| 344 | <A HREF="manual.html#lua_error">lua_error</A><BR> |
---|
| 345 | <A HREF="manual.html#lua_gc">lua_gc</A><BR> |
---|
| 346 | <A HREF="manual.html#lua_getallocf">lua_getallocf</A><BR> |
---|
| 347 | <A HREF="manual.html#lua_getctx">lua_getctx</A><BR> |
---|
| 348 | <A HREF="manual.html#lua_getfield">lua_getfield</A><BR> |
---|
| 349 | <A HREF="manual.html#lua_getglobal">lua_getglobal</A><BR> |
---|
| 350 | <A HREF="manual.html#lua_gethook">lua_gethook</A><BR> |
---|
| 351 | <A HREF="manual.html#lua_gethookcount">lua_gethookcount</A><BR> |
---|
| 352 | <A HREF="manual.html#lua_gethookmask">lua_gethookmask</A><BR> |
---|
| 353 | <A HREF="manual.html#lua_getinfo">lua_getinfo</A><BR> |
---|
| 354 | <A HREF="manual.html#lua_getlocal">lua_getlocal</A><BR> |
---|
| 355 | <A HREF="manual.html#lua_getmetatable">lua_getmetatable</A><BR> |
---|
| 356 | <A HREF="manual.html#lua_getstack">lua_getstack</A><BR> |
---|
| 357 | <A HREF="manual.html#lua_gettable">lua_gettable</A><BR> |
---|
| 358 | <A HREF="manual.html#lua_gettop">lua_gettop</A><BR> |
---|
| 359 | <A HREF="manual.html#lua_getupvalue">lua_getupvalue</A><BR> |
---|
| 360 | <A HREF="manual.html#lua_getuservalue">lua_getuservalue</A><BR> |
---|
| 361 | <A HREF="manual.html#lua_insert">lua_insert</A><BR> |
---|
| 362 | <A HREF="manual.html#lua_isboolean">lua_isboolean</A><BR> |
---|
| 363 | <A HREF="manual.html#lua_iscfunction">lua_iscfunction</A><BR> |
---|
| 364 | <A HREF="manual.html#lua_isfunction">lua_isfunction</A><BR> |
---|
| 365 | <A HREF="manual.html#lua_islightuserdata">lua_islightuserdata</A><BR> |
---|
| 366 | <A HREF="manual.html#lua_isnil">lua_isnil</A><BR> |
---|
| 367 | <A HREF="manual.html#lua_isnone">lua_isnone</A><BR> |
---|
| 368 | <A HREF="manual.html#lua_isnoneornil">lua_isnoneornil</A><BR> |
---|
| 369 | <A HREF="manual.html#lua_isnumber">lua_isnumber</A><BR> |
---|
| 370 | <A HREF="manual.html#lua_isstring">lua_isstring</A><BR> |
---|
| 371 | <A HREF="manual.html#lua_istable">lua_istable</A><BR> |
---|
| 372 | <A HREF="manual.html#lua_isthread">lua_isthread</A><BR> |
---|
| 373 | <A HREF="manual.html#lua_isuserdata">lua_isuserdata</A><BR> |
---|
| 374 | <A HREF="manual.html#lua_len">lua_len</A><BR> |
---|
| 375 | <A HREF="manual.html#lua_load">lua_load</A><BR> |
---|
| 376 | <A HREF="manual.html#lua_newstate">lua_newstate</A><BR> |
---|
| 377 | <A HREF="manual.html#lua_newtable">lua_newtable</A><BR> |
---|
| 378 | <A HREF="manual.html#lua_newthread">lua_newthread</A><BR> |
---|
| 379 | <A HREF="manual.html#lua_newuserdata">lua_newuserdata</A><BR> |
---|
| 380 | <A HREF="manual.html#lua_next">lua_next</A><BR> |
---|
| 381 | <A HREF="manual.html#lua_pcall">lua_pcall</A><BR> |
---|
| 382 | <A HREF="manual.html#lua_pcallk">lua_pcallk</A><BR> |
---|
| 383 | <A HREF="manual.html#lua_pop">lua_pop</A><BR> |
---|
| 384 | <A HREF="manual.html#lua_pushboolean">lua_pushboolean</A><BR> |
---|
| 385 | <A HREF="manual.html#lua_pushcclosure">lua_pushcclosure</A><BR> |
---|
| 386 | <A HREF="manual.html#lua_pushcfunction">lua_pushcfunction</A><BR> |
---|
| 387 | <A HREF="manual.html#lua_pushfstring">lua_pushfstring</A><BR> |
---|
| 388 | <A HREF="manual.html#lua_pushglobaltable">lua_pushglobaltable</A><BR> |
---|
| 389 | <A HREF="manual.html#lua_pushinteger">lua_pushinteger</A><BR> |
---|
| 390 | <A HREF="manual.html#lua_pushlightuserdata">lua_pushlightuserdata</A><BR> |
---|
| 391 | <A HREF="manual.html#lua_pushliteral">lua_pushliteral</A><BR> |
---|
| 392 | <A HREF="manual.html#lua_pushlstring">lua_pushlstring</A><BR> |
---|
| 393 | <A HREF="manual.html#lua_pushnil">lua_pushnil</A><BR> |
---|
| 394 | <A HREF="manual.html#lua_pushnumber">lua_pushnumber</A><BR> |
---|
| 395 | <A HREF="manual.html#lua_pushstring">lua_pushstring</A><BR> |
---|
| 396 | <A HREF="manual.html#lua_pushthread">lua_pushthread</A><BR> |
---|
| 397 | <A HREF="manual.html#lua_pushunsigned">lua_pushunsigned</A><BR> |
---|
| 398 | <A HREF="manual.html#lua_pushvalue">lua_pushvalue</A><BR> |
---|
| 399 | <A HREF="manual.html#lua_pushvfstring">lua_pushvfstring</A><BR> |
---|
| 400 | <A HREF="manual.html#lua_rawequal">lua_rawequal</A><BR> |
---|
| 401 | <A HREF="manual.html#lua_rawget">lua_rawget</A><BR> |
---|
| 402 | <A HREF="manual.html#lua_rawgeti">lua_rawgeti</A><BR> |
---|
| 403 | <A HREF="manual.html#lua_rawgetp">lua_rawgetp</A><BR> |
---|
| 404 | <A HREF="manual.html#lua_rawlen">lua_rawlen</A><BR> |
---|
| 405 | <A HREF="manual.html#lua_rawset">lua_rawset</A><BR> |
---|
| 406 | <A HREF="manual.html#lua_rawseti">lua_rawseti</A><BR> |
---|
| 407 | <A HREF="manual.html#lua_rawsetp">lua_rawsetp</A><BR> |
---|
| 408 | <A HREF="manual.html#lua_register">lua_register</A><BR> |
---|
| 409 | <A HREF="manual.html#lua_remove">lua_remove</A><BR> |
---|
| 410 | <A HREF="manual.html#lua_replace">lua_replace</A><BR> |
---|
| 411 | <A HREF="manual.html#lua_resume">lua_resume</A><BR> |
---|
| 412 | <A HREF="manual.html#lua_setallocf">lua_setallocf</A><BR> |
---|
| 413 | <A HREF="manual.html#lua_setfield">lua_setfield</A><BR> |
---|
| 414 | <A HREF="manual.html#lua_setglobal">lua_setglobal</A><BR> |
---|
| 415 | <A HREF="manual.html#lua_sethook">lua_sethook</A><BR> |
---|
| 416 | <A HREF="manual.html#lua_setlocal">lua_setlocal</A><BR> |
---|
| 417 | <A HREF="manual.html#lua_setmetatable">lua_setmetatable</A><BR> |
---|
| 418 | <A HREF="manual.html#lua_settable">lua_settable</A><BR> |
---|
| 419 | <A HREF="manual.html#lua_settop">lua_settop</A><BR> |
---|
| 420 | <A HREF="manual.html#lua_setupvalue">lua_setupvalue</A><BR> |
---|
| 421 | <A HREF="manual.html#lua_setuservalue">lua_setuservalue</A><BR> |
---|
| 422 | <A HREF="manual.html#lua_status">lua_status</A><BR> |
---|
| 423 | <A HREF="manual.html#lua_toboolean">lua_toboolean</A><BR> |
---|
| 424 | <A HREF="manual.html#lua_tocfunction">lua_tocfunction</A><BR> |
---|
| 425 | <A HREF="manual.html#lua_tointeger">lua_tointeger</A><BR> |
---|
| 426 | <A HREF="manual.html#lua_tointegerx">lua_tointegerx</A><BR> |
---|
| 427 | <A HREF="manual.html#lua_tolstring">lua_tolstring</A><BR> |
---|
| 428 | <A HREF="manual.html#lua_tonumber">lua_tonumber</A><BR> |
---|
| 429 | <A HREF="manual.html#lua_tonumberx">lua_tonumberx</A><BR> |
---|
| 430 | <A HREF="manual.html#lua_topointer">lua_topointer</A><BR> |
---|
| 431 | <A HREF="manual.html#lua_tostring">lua_tostring</A><BR> |
---|
| 432 | <A HREF="manual.html#lua_tothread">lua_tothread</A><BR> |
---|
| 433 | <A HREF="manual.html#lua_tounsigned">lua_tounsigned</A><BR> |
---|
| 434 | <A HREF="manual.html#lua_tounsignedx">lua_tounsignedx</A><BR> |
---|
| 435 | <A HREF="manual.html#lua_touserdata">lua_touserdata</A><BR> |
---|
| 436 | <A HREF="manual.html#lua_type">lua_type</A><BR> |
---|
| 437 | <A HREF="manual.html#lua_typename">lua_typename</A><BR> |
---|
| 438 | <A HREF="manual.html#lua_upvalueid">lua_upvalueid</A><BR> |
---|
| 439 | <A HREF="manual.html#lua_upvalueindex">lua_upvalueindex</A><BR> |
---|
| 440 | <A HREF="manual.html#lua_upvaluejoin">lua_upvaluejoin</A><BR> |
---|
| 441 | <A HREF="manual.html#lua_version">lua_version</A><BR> |
---|
| 442 | <A HREF="manual.html#lua_xmove">lua_xmove</A><BR> |
---|
| 443 | <A HREF="manual.html#lua_yield">lua_yield</A><BR> |
---|
| 444 | <A HREF="manual.html#lua_yieldk">lua_yieldk</A><BR> |
---|
| 445 | |
---|
| 446 | </TD> |
---|
| 447 | <TD> |
---|
| 448 | <H3>auxiliary library</H3> |
---|
| 449 | <P> |
---|
| 450 | <A HREF="manual.html#luaL_Buffer">luaL_Buffer</A><BR> |
---|
| 451 | <A HREF="manual.html#luaL_Reg">luaL_Reg</A><BR> |
---|
| 452 | |
---|
| 453 | <P> |
---|
| 454 | <A HREF="manual.html#luaL_addchar">luaL_addchar</A><BR> |
---|
| 455 | <A HREF="manual.html#luaL_addlstring">luaL_addlstring</A><BR> |
---|
| 456 | <A HREF="manual.html#luaL_addsize">luaL_addsize</A><BR> |
---|
| 457 | <A HREF="manual.html#luaL_addstring">luaL_addstring</A><BR> |
---|
| 458 | <A HREF="manual.html#luaL_addvalue">luaL_addvalue</A><BR> |
---|
| 459 | <A HREF="manual.html#luaL_argcheck">luaL_argcheck</A><BR> |
---|
| 460 | <A HREF="manual.html#luaL_argerror">luaL_argerror</A><BR> |
---|
| 461 | <A HREF="manual.html#luaL_buffinit">luaL_buffinit</A><BR> |
---|
| 462 | <A HREF="manual.html#luaL_buffinitsize">luaL_buffinitsize</A><BR> |
---|
| 463 | <A HREF="manual.html#luaL_callmeta">luaL_callmeta</A><BR> |
---|
| 464 | <A HREF="manual.html#luaL_checkany">luaL_checkany</A><BR> |
---|
| 465 | <A HREF="manual.html#luaL_checkint">luaL_checkint</A><BR> |
---|
| 466 | <A HREF="manual.html#luaL_checkinteger">luaL_checkinteger</A><BR> |
---|
| 467 | <A HREF="manual.html#luaL_checklong">luaL_checklong</A><BR> |
---|
| 468 | <A HREF="manual.html#luaL_checklstring">luaL_checklstring</A><BR> |
---|
| 469 | <A HREF="manual.html#luaL_checknumber">luaL_checknumber</A><BR> |
---|
| 470 | <A HREF="manual.html#luaL_checkoption">luaL_checkoption</A><BR> |
---|
| 471 | <A HREF="manual.html#luaL_checkstack">luaL_checkstack</A><BR> |
---|
| 472 | <A HREF="manual.html#luaL_checkstring">luaL_checkstring</A><BR> |
---|
| 473 | <A HREF="manual.html#luaL_checktype">luaL_checktype</A><BR> |
---|
| 474 | <A HREF="manual.html#luaL_checkudata">luaL_checkudata</A><BR> |
---|
| 475 | <A HREF="manual.html#luaL_checkunsigned">luaL_checkunsigned</A><BR> |
---|
| 476 | <A HREF="manual.html#luaL_checkversion">luaL_checkversion</A><BR> |
---|
| 477 | <A HREF="manual.html#luaL_dofile">luaL_dofile</A><BR> |
---|
| 478 | <A HREF="manual.html#luaL_dostring">luaL_dostring</A><BR> |
---|
| 479 | <A HREF="manual.html#luaL_error">luaL_error</A><BR> |
---|
| 480 | <A HREF="manual.html#luaL_execresult">luaL_execresult</A><BR> |
---|
| 481 | <A HREF="manual.html#luaL_fileresult">luaL_fileresult</A><BR> |
---|
| 482 | <A HREF="manual.html#luaL_getmetafield">luaL_getmetafield</A><BR> |
---|
| 483 | <A HREF="manual.html#luaL_getmetatable">luaL_getmetatable</A><BR> |
---|
| 484 | <A HREF="manual.html#luaL_getsubtable">luaL_getsubtable</A><BR> |
---|
| 485 | <A HREF="manual.html#luaL_gsub">luaL_gsub</A><BR> |
---|
| 486 | <A HREF="manual.html#luaL_len">luaL_len</A><BR> |
---|
| 487 | <A HREF="manual.html#luaL_loadbuffer">luaL_loadbuffer</A><BR> |
---|
| 488 | <A HREF="manual.html#luaL_loadbufferx">luaL_loadbufferx</A><BR> |
---|
| 489 | <A HREF="manual.html#luaL_loadfile">luaL_loadfile</A><BR> |
---|
| 490 | <A HREF="manual.html#luaL_loadfilex">luaL_loadfilex</A><BR> |
---|
| 491 | <A HREF="manual.html#luaL_loadstring">luaL_loadstring</A><BR> |
---|
| 492 | <A HREF="manual.html#luaL_newlib">luaL_newlib</A><BR> |
---|
| 493 | <A HREF="manual.html#luaL_newlibtable">luaL_newlibtable</A><BR> |
---|
| 494 | <A HREF="manual.html#luaL_newmetatable">luaL_newmetatable</A><BR> |
---|
| 495 | <A HREF="manual.html#luaL_newstate">luaL_newstate</A><BR> |
---|
| 496 | <A HREF="manual.html#luaL_openlibs">luaL_openlibs</A><BR> |
---|
| 497 | <A HREF="manual.html#luaL_optint">luaL_optint</A><BR> |
---|
| 498 | <A HREF="manual.html#luaL_optinteger">luaL_optinteger</A><BR> |
---|
| 499 | <A HREF="manual.html#luaL_optlong">luaL_optlong</A><BR> |
---|
| 500 | <A HREF="manual.html#luaL_optlstring">luaL_optlstring</A><BR> |
---|
| 501 | <A HREF="manual.html#luaL_optnumber">luaL_optnumber</A><BR> |
---|
| 502 | <A HREF="manual.html#luaL_optstring">luaL_optstring</A><BR> |
---|
| 503 | <A HREF="manual.html#luaL_optunsigned">luaL_optunsigned</A><BR> |
---|
| 504 | <A HREF="manual.html#luaL_prepbuffer">luaL_prepbuffer</A><BR> |
---|
| 505 | <A HREF="manual.html#luaL_prepbuffsize">luaL_prepbuffsize</A><BR> |
---|
| 506 | <A HREF="manual.html#luaL_pushresult">luaL_pushresult</A><BR> |
---|
| 507 | <A HREF="manual.html#luaL_pushresultsize">luaL_pushresultsize</A><BR> |
---|
| 508 | <A HREF="manual.html#luaL_ref">luaL_ref</A><BR> |
---|
| 509 | <A HREF="manual.html#luaL_requiref">luaL_requiref</A><BR> |
---|
| 510 | <A HREF="manual.html#luaL_setfuncs">luaL_setfuncs</A><BR> |
---|
| 511 | <A HREF="manual.html#luaL_setmetatable">luaL_setmetatable</A><BR> |
---|
| 512 | <A HREF="manual.html#luaL_testudata">luaL_testudata</A><BR> |
---|
| 513 | <A HREF="manual.html#luaL_tolstring">luaL_tolstring</A><BR> |
---|
| 514 | <A HREF="manual.html#luaL_traceback">luaL_traceback</A><BR> |
---|
| 515 | <A HREF="manual.html#luaL_typename">luaL_typename</A><BR> |
---|
| 516 | <A HREF="manual.html#luaL_unref">luaL_unref</A><BR> |
---|
| 517 | <A HREF="manual.html#luaL_where">luaL_where</A><BR> |
---|
| 518 | |
---|
| 519 | </TD> |
---|
| 520 | </TR> |
---|
| 521 | </TABLE> |
---|
| 522 | |
---|
| 523 | <HR> |
---|
| 524 | <SMALL CLASS="footer"> |
---|
| 525 | Last update: |
---|
| 526 | Tue Mar 12 11:22:18 BRT 2013 |
---|
| 527 | </SMALL> |
---|
| 528 | <!-- |
---|
| 529 | Last change: revised for Lua 5.2.2 |
---|
| 530 | --> |
---|
| 531 | |
---|
| 532 | </BODY> |
---|
| 533 | </HTML> |
---|