ofs | hex dump | ascii |
---|
0000 | f7 02 01 83 92 c0 1c 3b 00 00 00 00 03 e8 22 20 43 6f 6d 6d 6f 6e 20 54 65 58 20 6f 75 74 70 75 | .......;......".Common.TeX.outpu |
0020 | 74 20 31 39 39 34 2e 30 35 2e 32 37 3a 31 31 30 31 8b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 | t.1994.05.27:1101............... |
0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff a0 02 | ................................ |
0060 | cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd a1 cb d5 8d 91 23 ce 63 f3 39 44 d3 ed 74 00 | ..c...2......|........#.c.9D..t. |
0080 | 11 47 ae 00 11 47 ae 00 05 63 6d 72 31 37 e4 52 65 66 65 72 65 6e 63 65 96 05 37 74 4d 61 6e 90 | .G...G...cmr17.Reference..7tMan. |
00a0 | 8c 71 75 61 6c 93 6f 66 93 74 68 65 93 50 72 6f 67 72 61 6d 6d 69 6e 67 93 4c 61 6e 67 75 61 67 | .qual.of.the.Programming.Languag |
00c0 | 65 93 4c 75 61 8e 9f 1e 6c cf 8d 8d 8d 8d 8d 92 00 a4 81 c8 f3 2b 58 ab 51 0b 00 0c 00 00 00 0c | e.Lua...l............+X.Q....... |
00e0 | 00 00 00 05 63 6d 72 31 32 d6 52 6f 62 90 53 8e 65 72 74 6f 91 03 ea a8 49 65 72 75 73 61 6c 69 | ....cmr12.Rob.S.erto....Ierusali |
0100 | 6d 73 63 95 ac 72 68 93 79 8e 8e a4 0e 00 00 8d 8d 92 00 94 d3 3f 4c 75 69 7a 96 03 ea a8 48 65 | msc..rh.y............?Luiz....He |
0120 | 6e 72 69 71 75 65 93 64 65 93 46 69 67 75 65 69 72 65 64 6f 8e 8e a1 8d 8d 92 00 a3 3b eb 57 91 | nrique.de.Figueiredo........;.W. |
0140 | ff 05 56 61 6c 64 65 6d 61 72 96 03 ea a8 43 65 6c 65 73 93 46 69 6c 68 6f 8e 8e 9f 13 2a ab 8d | ..Valdemar....Celes.Filho....*.. |
0160 | 8d 92 00 ae a9 15 f3 19 4b f1 60 79 00 0a 00 00 00 0a 00 00 00 05 63 6d 72 31 30 c4 54 91 ff 2a | ........K.`y..........cmr10.T..* |
0180 | aa 65 43 47 72 61 66 96 03 55 55 7c 93 50 55 43 2d 52 69 6f 8e 8e a1 8d 8d 92 00 94 83 ba 72 6f | .eCGraf..UU|.PUC-Rio..........ro |
01a0 | 62 90 47 1d 65 72 74 6f 2c 96 03 55 55 6c 68 66 2c 93 63 65 6c 65 73 40 69 63 61 64 2e 70 75 63 | b.G.erto,..UUlhf,.celes@icad.puc |
01c0 | 2d 72 69 6f 2e 62 72 8e 8e 8e 8e 8e 9f 55 84 49 8d 92 00 bb 7f f1 d6 4d 61 90 ac 72 79 96 03 ea | -rio.br......U.I.......Ma..ry... |
01e0 | a8 32 37 2c 93 31 39 39 34 8e 9f 28 6c cf 8d 92 00 c7 ee 49 f3 1e 1a f2 22 56 00 0a 00 00 00 0a | .27,.1994..(l......I...."V...... |
0200 | 00 00 00 06 63 6d 62 78 31 30 c9 41 62 73 74 72 61 63 74 8e 9f 12 40 02 8d 91 27 87 96 c4 4c 75 | ....cmbx10.Abstract...@...'...Lu |
0220 | 61 96 04 d4 ae 69 73 93 61 6e 93 65 6d 90 b8 e3 62 9a 47 1d 65 64 64 65 64 93 70 72 6f 67 72 61 | a....is.an.em...b.G.edded.progra |
0240 | 6d 6d 69 6e 67 93 6c 61 6e 67 75 61 67 65 93 64 65 73 69 67 6e 65 64 93 74 6f 93 62 98 65 93 75 | mming.language.designed.to.b.e.u |
0260 | 73 65 64 93 61 73 93 61 93 63 6f 6e 0c 67 75 72 61 74 69 6f 6e 8e a4 0c 00 00 8d 91 18 87 95 6c | sed.as.a.con.guration..........l |
0280 | 61 6e 67 75 61 67 65 96 03 5c 64 66 6f 72 93 61 6e 9a b8 e3 79 93 70 72 6f 67 72 61 6d 93 74 68 | anguage..\dfor.an...y.program.th |
02a0 | 61 74 93 6e 65 65 64 73 93 6f 6e 65 2e 91 04 86 f5 54 68 69 73 93 64 6f 90 47 1d 63 75 6d 65 6e | at.needs.one.....This.do.G.cumen |
02c0 | 98 74 93 64 65 73 63 72 69 62 90 47 1d 65 73 93 74 68 65 93 4c 75 61 93 70 72 6f 67 72 61 6d 6d | .t.describ.G.es.the.Lua.programm |
02e0 | 69 6e 67 8e a1 8d 91 18 87 95 6c 61 6e 67 75 61 67 65 96 02 4d 31 61 6e 64 93 74 68 65 93 41 50 | ing.......language..M1and.the.AP |
0300 | 49 91 02 4c ee 74 68 61 74 93 61 6c 6c 6f 9a b8 e3 77 73 93 69 6e 98 74 65 72 61 63 74 69 6f 6e | I..L.that.allo...ws.in.teraction |
0320 | 93 62 90 47 1d 65 74 98 77 98 65 65 6e 93 4c 75 61 93 70 72 6f 67 72 61 6d 73 93 61 6e 64 93 69 | .b.G.et.w.een.Lua.programs.and.i |
0340 | 74 73 93 68 6f 73 74 93 43 91 02 4c ee 70 72 6f 67 72 61 6d 2e 8e a1 8d 91 18 87 95 49 74 96 03 | ts.host.C..L.program........It.. |
0360 | 55 55 61 6c 73 6f 93 70 72 65 73 65 6e 90 b8 e3 74 73 93 73 6f 6d 65 93 65 78 61 6d 70 6c 65 73 | UUalso.presen...ts.some.examples |
0380 | 93 6f 66 93 75 73 69 6e 67 93 74 68 65 93 6d 61 69 6e 93 66 65 61 74 75 72 65 73 93 6f 66 93 74 | .of.using.the.main.features.of.t |
03a0 | 68 65 93 73 79 73 74 65 6d 2e 8e 9f 3d 49 94 8d 92 00 d1 53 fa c9 53 75 6d 90 eb 8d 13 91 fa 54 | he.system...=I.....S..Sum......T |
03c0 | 75 61 72 69 6f 8e 9f 10 4e 38 8d 91 18 87 95 c4 4c 75 61 91 02 32 44 13 91 fb 47 1c 65 96 02 79 | uario...N8......Lua..2D...G.e..y |
03e0 | 61 75 6d 61 93 6c 69 6e 67 75 61 67 65 6d 93 64 65 93 65 78 74 65 6e 73 7e 9b fa ff ff 61 6f 93 | auma.linguagem.de.extens~....ao. |
0400 | 70 72 6f 91 00 8e 38 6a 65 74 61 64 61 93 70 61 72 61 93 73 65 72 93 75 73 61 64 61 93 63 6f 6d | pro...8jetada.para.ser.usada.com |
0420 | 6f 93 6c 69 6e 67 75 61 67 65 6d 93 64 65 93 63 6f 6e 0c 67 75 72 61 18 91 fb 8e 39 63 7e 98 61 | o.linguagem.de.con.gura....9c~.a |
0440 | 6f 8e a1 8d 91 18 87 95 65 6d 96 04 ef 30 71 75 61 6c 71 75 65 72 93 70 72 6f 67 72 61 6d 61 93 | o.......em...0qualquer.programa. |
0460 | 71 75 65 93 70 72 65 63 69 73 65 93 64 65 93 75 6d 61 2e 91 09 3f 58 45 73 74 65 93 64 6f 90 47 | que.precise.de.uma...?XEste.do.G |
0480 | 1d 63 75 6d 65 6e 9a b8 e3 74 6f 93 64 65 73 63 72 65 76 98 65 93 61 93 6c 69 6e 67 75 61 67 65 | .cumen...to.descrev.e.a.linguage |
04a0 | 6d 93 64 65 8e a1 8d 91 18 87 95 70 72 6f 67 72 61 6d 61 18 9b fb 8e 39 63 7e 91 fa ff ff 61 6f | m.de.......programa....9c~....ao |
04c0 | 96 03 cc 62 4c 75 61 93 65 93 61 93 49 6e 90 b8 e3 74 65 72 66 61 63 65 93 64 65 93 50 72 6f 67 | ...bLua.e.a.In...terface.de.Prog |
04e0 | 72 61 6d 61 18 98 63 7e 91 fa ff ff 61 6f 93 71 75 65 93 70 90 47 1d 65 72 6d 69 74 65 93 61 93 | rama..c~....ao.que.p.G.ermite.a. |
0500 | 69 6e 90 b8 e3 74 65 72 61 18 98 63 7e 91 fa ff ff 61 6f 93 65 6e 90 b8 e3 74 72 65 93 70 72 6f | in...tera..c~....ao.en...tre.pro |
0520 | 67 72 61 6d 61 73 8e a1 8d 91 18 87 95 4c 75 61 96 03 6e e3 65 93 6f 93 70 72 6f 67 72 61 6d 61 | gramas.......Lua..n.e.o.programa |
0540 | 93 43 96 03 6e dd 68 6f 73 70 9a 47 1d 65 64 65 69 72 6f 2e 91 04 be 72 4f 93 64 6f 98 63 75 6d | .C..n.hosp.G.edeiro....rO.do.cum |
0560 | 65 6e 95 b8 e3 74 6f 9b 03 6e e3 74 61 6d 93 62 93 13 91 fb 47 1c 65 6d 98 61 70 72 65 73 65 6e | en...to..n.tam.b....G.em.apresen |
0580 | 93 74 61 98 61 6c 67 75 6e 73 98 65 78 65 6d 70 6c 6f 73 98 64 65 98 75 73 6f 8e a1 8d 91 18 87 | .ta.alguns.exemplos.de.uso...... |
05a0 | 95 64 61 73 96 03 55 55 70 72 69 6e 63 69 70 61 69 73 93 63 61 72 61 63 74 65 72 91 fe e3 8e 13 | .das..UUprincipais.caracter..... |
05c0 | 91 fc 1c 71 10 73 74 69 63 61 73 93 64 6f 93 73 69 73 74 65 6d 61 2e 8e 8e 9f 1c 73 e7 8d 92 00 | ...q.sticas.do.sistema.....s.... |
05e0 | db 31 a1 f3 22 4b f1 60 79 00 0a f3 33 00 0a 00 00 00 05 63 6d 72 31 30 cd 31 8e 8e 8c 8b 00 00 | .1.."K.`y...3......cmr10.1...... |
0600 | 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0620 | 00 00 00 00 00 00 00 00 00 31 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b | .........1....c...2......|...u.k |
0640 | 8d 8d 91 fd 27 91 f3 37 1a f2 22 56 00 0e 66 66 00 0a 00 00 00 06 63 6d 62 78 31 30 e2 31 8e 91 | ....'..7.."V..ff......cmbx10.1.. |
0660 | 15 fe 90 49 6e 90 8a 3d 74 72 6f 90 75 c2 64 75 63 74 69 6f 6e 8e a9 18 71 8b 8d 91 fd 27 91 cd | ...In..=tro.u.duction...q....'.. |
0680 | 4c 75 61 96 03 d1 75 69 73 93 61 6e 93 65 6d 90 b2 21 62 9a 4d de 65 64 64 65 64 93 70 72 6f 67 | Lua...uis.an.em..!b.M.edded.prog |
06a0 | 72 61 6d 6d 69 6e 67 93 6c 61 6e 67 75 61 67 65 93 64 65 73 69 67 6e 65 64 93 74 6f 93 73 75 70 | ramming.language.designed.to.sup |
06c0 | 70 98 6f 72 74 93 67 65 6e 65 72 61 6c 93 70 72 6f 98 63 65 64 75 72 61 6c 93 70 72 6f 67 72 61 | p.ort.general.pro.cedural.progra |
06e0 | 6d 2d 8e a4 0d 99 9a 8d 91 fd 27 91 6d 69 6e 67 96 04 d9 67 66 65 61 74 75 72 65 73 93 77 69 74 | m-........'.ming...gfeatures.wit |
0700 | 68 93 64 61 74 61 93 64 65 73 63 72 69 70 74 69 6f 6e 93 66 61 63 69 6c 69 74 69 65 73 2e 91 08 | h.data.description.facilities... |
0720 | 76 e0 49 74 93 69 73 93 73 75 70 70 9a 4d de 6f 73 65 64 93 74 6f 93 62 98 65 93 75 73 65 64 93 | v.It.is.supp.M.osed.to.b.e.used. |
0740 | 61 73 93 61 93 63 6f 6e 0c 67 75 72 61 74 69 6f 6e 8e a1 8d 91 fd 27 91 6c 61 6e 67 75 61 67 65 | as.a.con.guration.....'.language |
0760 | 96 04 a8 13 66 6f 72 93 61 6e 9a b2 21 79 93 70 72 6f 67 72 61 6d 93 74 68 61 74 93 6e 65 65 64 | ....for.an..!y.program.that.need |
0780 | 73 93 6f 6e 65 2e 91 07 e2 e4 4c 75 61 93 77 98 61 73 93 64 65 73 69 67 6e 65 64 93 62 98 79 93 | s.one.....Lua.w.as.designed.b.y. |
07a0 | 52 2e 93 49 65 72 75 73 61 6c 69 6d 73 63 98 68 98 79 91 ff 16 65 2c 91 04 e8 7e 4c 2e 93 48 2e | R..Ierusalimsc.h.y...e,...~L..H. |
07c0 | 93 64 65 8e a1 8d 91 fd 27 91 46 69 67 75 65 69 72 65 64 6f 96 03 a6 66 61 6e 64 93 57 2e 93 43 | .de.....'.Figueiredo...fand.W..C |
07e0 | 65 6c 65 73 2c 93 61 6e 64 93 69 6d 70 6c 65 6d 65 6e 9a b2 21 74 65 64 93 62 98 79 93 57 2e 93 | eles,.and.implemen..!ted.b.y.W.. |
0800 | 43 65 6c 65 73 2e 8e a1 8d 91 0e 27 91 4c 75 61 96 04 3b 91 69 73 93 69 6d 70 6c 65 6d 65 6e 9a | Celes......'.Lua..;.is.implemen. |
0820 | b2 21 74 65 64 93 61 73 93 61 93 6c 69 62 72 61 72 79 91 ff 16 65 2c 91 04 60 db 77 72 69 74 74 | .!ted.as.a.library...e,..`.writt |
0840 | 65 6e 93 69 6e 93 43 2e 93 42 65 69 6e 67 93 61 6e 93 65 6d 98 62 90 4d de 65 64 64 65 64 93 6c | en.in.C..Being.an.em.b.M.edded.l |
0860 | 61 6e 67 75 61 67 65 2c 91 04 60 db 4c 75 61 93 68 61 73 93 6e 6f 8e a1 8d 91 fd 27 91 6e 6f 74 | anguage,..`.Lua.has.no.....'.not |
0880 | 69 6f 6e 96 04 ad 35 6f 66 93 61 93 5c 6d 61 69 6e 22 93 70 72 6f 67 72 61 6d 3a 91 06 eb 7c 69 | ion...5of.a.\main".program:...|i |
08a0 | 74 93 6f 6e 6c 79 93 77 9a b2 21 6f 72 6b 73 93 f3 25 fd 00 27 3a 00 0a f3 33 00 0a 00 00 00 06 | t.only.w..!orks..%..':...3...... |
08c0 | 63 6d 74 69 31 30 d0 65 6d 62 96 ff 70 b9 65 93 64 64 65 93 64 96 04 ad 35 cd 69 6e 93 61 93 68 | cmti10.emb..p.e.dde.d...5.in.a.h |
08e0 | 6f 73 74 93 63 6c 69 65 6e 98 74 2c 91 04 ee e9 63 61 6c 6c 65 64 93 74 68 65 93 d0 65 6d 62 96 | ost.clien.t,....called.the..emb. |
0900 | ff 70 b9 65 93 64 64 69 6e 67 8e a1 8d 91 fd 27 91 cd 70 72 6f 67 72 61 6d 2e 91 04 d5 f2 54 68 | .p.e.dding.....'..program.....Th |
0920 | 69 73 96 03 8e a5 68 6f 73 74 93 70 72 6f 67 72 61 6d 93 63 61 6e 93 69 6e 95 b2 21 76 93 6f 6b | is....host.program.can.in..!v.ok |
0940 | 93 65 96 03 8e a5 66 75 6e 63 74 69 6f 6e 73 93 74 6f 93 65 78 65 63 75 74 65 93 61 93 70 69 65 | .e....functions.to.execute.a.pie |
0960 | 63 65 93 6f 66 93 63 6f 90 4d de 64 65 93 69 6e 93 4c 75 61 2c 91 03 93 65 63 61 6e 93 77 72 69 | ce.of.co.M.de.in.Lua,...ecan.wri |
0980 | 74 65 8e a1 8d 91 fd 27 91 61 6e 64 96 04 14 d7 72 65 61 64 93 4c 75 61 93 76 91 ff 64 44 61 72 | te.....'.and....read.Lua.v..dDar |
09a0 | 69 61 62 6c 65 73 2c 91 04 30 73 61 6e 64 93 63 61 6e 93 72 65 67 69 73 74 65 72 93 43 91 04 14 | iables,..0sand.can.register.C... |
09c0 | ba 66 75 6e 63 74 69 6f 6e 73 93 74 6f 93 62 9a 4d de 65 93 63 61 6c 6c 65 64 93 62 90 b2 21 79 | .functions.to.b.M.e.called.b..!y |
09e0 | 93 4c 75 61 93 63 6f 98 64 65 2e 91 06 29 2f 54 68 72 6f 75 67 68 93 74 68 65 8e a1 8d 91 fd 27 | .Lua.co.de...)/Through.the.....' |
0a00 | 91 75 73 65 96 03 52 95 6f 66 93 43 91 03 52 7f 66 75 6e 63 74 69 6f 6e 73 2c 91 03 63 58 4c 75 | .use..R.of.C..R.functions,..cXLu |
0a20 | 61 93 63 61 6e 93 62 9a 4d de 65 93 61 75 67 6d 65 6e 90 b2 21 74 65 64 93 74 6f 93 63 6f 70 98 | a.can.b.M.e.augmen..!ted.to.cop. |
0a40 | 65 93 77 69 74 68 93 72 61 74 68 65 72 93 64 69 0b 65 72 65 6e 9a b2 21 74 93 64 6f 6d 61 69 6e | e.with.rather.di.eren..!t.domain |
0a60 | 73 2c 91 03 63 58 74 68 98 75 73 93 63 72 65 61 74 69 6e 67 8e a1 8d 91 fd 27 91 63 75 73 74 6f | s,..cXth.us.creating.....'.custo |
0a80 | 6d 69 7a 65 64 96 03 a6 66 70 72 6f 67 72 61 6d 6d 69 6e 67 93 6c 61 6e 67 75 61 67 65 73 93 73 | mized...fprogramming.languages.s |
0aa0 | 68 61 72 69 6e 67 93 61 93 73 79 6e 9a b2 21 74 61 63 74 69 63 61 6c 93 66 72 61 6d 65 77 98 6f | haring.a.syn..!tactical.framew.o |
0ac0 | 72 6b 2e 8e a1 8d 91 0e 27 91 4c 75 61 96 04 81 69 69 73 93 66 72 65 65 93 64 69 73 74 72 69 62 | rk......'.Lua...iis.free.distrib |
0ae0 | 75 74 69 6f 6e 93 73 6f 66 74 95 b2 21 77 93 61 72 65 2c 91 04 b8 29 61 6e 64 9b 04 81 69 70 72 | ution.soft..!w.are,...)and...ipr |
0b00 | 6f 93 76 69 64 65 64 98 61 73 98 75 73 75 61 6c 98 77 69 74 68 98 6e 6f 98 67 75 61 72 61 6e 93 | o.vided.as.usual.with.no.guaran. |
0b20 | 74 65 65 73 2e 91 07 6e e6 54 68 65 98 69 6d 70 6c 65 2d 8e a1 8d 91 fd 27 91 6d 65 6e 9a b2 21 | tees...n.The.imple-.....'.men..! |
0b40 | 74 61 74 69 6f 6e 96 03 a6 66 64 65 73 63 72 69 62 90 4d de 65 64 93 69 6e 93 74 68 69 73 93 6d | tation...fdescrib.M.ed.in.this.m |
0b60 | 61 6e 98 75 61 6c 93 69 73 93 61 98 76 91 ff 64 44 61 69 6c 61 62 6c 65 93 62 98 79 93 61 6e 6f | an.ual.is.a.v..dDailable.b.y.ano |
0b80 | 6e 98 79 6d 6f 75 73 93 66 74 70 93 66 72 6f 6d 8e 9f 16 99 9a 8d 91 0e 66 8f f3 28 df ea 3c 78 | n.ymous.ftp.from........f..(..<x |
0ba0 | 00 0a f3 33 00 0a 00 00 00 06 63 6d 74 74 31 30 d3 66 74 70 2e 69 63 61 64 2e 70 75 63 2d 72 69 | ...3......cmtt10.ftp.icad.puc-ri |
0bc0 | 6f 2e 62 72 3a 2f 70 75 62 2f 6c 75 61 2f 6c 75 61 5f 31 2e 30 2e 74 61 72 2e 5a 8e 9f 22 80 41 | o.br:/pub/lua/lua_1.0.tar.Z..".A |
0be0 | 8d 8d 91 fd 27 91 e2 32 8e 91 15 fe 90 45 6e 95 8a 3d 76 69 72 6f 6e 6d 65 6e 93 74 96 05 85 1c | ....'..2.....En..=vironmen.t.... |
0c00 | 61 6e 64 93 4d 6f 90 75 c2 64 75 6c 65 73 8e a6 8d 91 fd 27 91 cd 41 6c 6c 96 03 3b ce 73 74 61 | and.Mo.u.dules.....'..All..;.sta |
0c20 | 74 65 6d 65 6e 9a b2 21 74 73 93 69 6e 93 4c 75 61 93 61 72 65 93 65 78 65 63 75 74 65 64 93 69 | temen..!ts.in.Lua.are.executed.i |
0c40 | 6e 93 61 93 d0 67 6c 6f 62 96 ff 70 b9 61 6c 91 03 88 d9 65 6e 76 69 72 93 6f 6e 6d 65 6e 74 91 | n.a..glob..p.al....envir.onment. |
0c60 | 01 09 ea cd 2e 91 04 ba 55 54 68 69 73 96 03 3b ce 65 6e 98 76 69 72 6f 6e 6d 65 6e 98 74 2c 91 | ........UThis..;.en.vironmen.t,. |
0c80 | 03 51 1f 77 68 69 63 98 68 93 6b 98 65 65 70 73 93 61 6c 6c 8e a1 8d 91 fd 27 91 67 6c 6f 62 61 | .Q.whic.h.k.eeps.all.....'.globa |
0ca0 | 6c 96 04 45 8f 76 91 ff 64 44 61 72 69 61 62 6c 65 73 93 61 6e 64 93 66 75 6e 63 74 69 6f 6e 73 | l..E.v..dDariables.and.functions |
0cc0 | 2c 91 04 6d 59 69 73 93 69 6e 69 74 69 61 6c 69 7a 65 64 93 61 74 93 74 68 65 93 62 9a 4d de 65 | ,..mYis.initialized.at.the.b.M.e |
0ce0 | 67 69 6e 6e 69 6e 67 93 6f 66 93 74 68 65 93 65 6d 90 b2 21 62 98 65 64 64 69 6e 67 93 70 72 6f | ginning.of.the.em..!b.edding.pro |
0d00 | 67 72 61 6d 93 61 6e 64 8e a1 8d 91 fd 27 91 70 90 4d de 65 72 73 69 73 74 73 96 03 a6 66 75 6e | gram.and.....'.p.M.ersists...fun |
0d20 | 90 b2 21 74 69 6c 93 69 74 73 93 65 6e 64 2e 8e a1 8d 91 0e 27 91 54 68 65 96 04 43 49 67 6c 6f | ..!til.its.end......'.The..CIglo |
0d40 | 62 61 6c 93 65 6e 95 b2 21 76 69 72 6f 6e 6d 65 6e 93 74 96 04 43 49 63 61 6e 93 62 9a 4d de 65 | bal.en..!vironmen.t..CIcan.b.M.e |
0d60 | 93 6d 61 6e 69 70 75 6c 61 74 65 64 93 62 90 b2 21 79 93 4c 75 61 93 63 6f 98 64 65 93 6f 72 93 | .manipulated.b..!y.Lua.co.de.or. |
0d80 | 62 9a b2 21 79 93 74 68 65 93 65 6d 98 62 90 4d de 65 64 64 69 6e 67 93 70 72 6f 67 72 61 6d 2c | b..!y.the.em.b.M.edding.program, |
0da0 | 8e a1 8d 91 fd 27 91 77 68 69 63 9a b2 21 68 96 03 a6 66 63 61 6e 93 72 65 61 64 93 61 6e 64 93 | .....'.whic..!h...fcan.read.and. |
0dc0 | 77 72 69 74 65 93 67 6c 6f 62 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c 65 73 93 75 73 69 6e 67 | write.global.v..dDariables.using |
0de0 | 93 66 75 6e 63 74 69 6f 6e 73 93 69 6e 93 74 68 65 93 6c 69 62 72 61 72 79 93 74 68 61 74 93 69 | .functions.in.the.library.that.i |
0e00 | 6d 70 6c 65 6d 65 6e 98 74 73 93 4c 75 61 2e 8e a1 8d 91 0e 27 91 47 6c 6f 62 61 6c 96 05 1d f0 | mplemen.ts.Lua......'.Global.... |
0e20 | 76 9b ff 64 44 61 72 69 61 62 6c 65 73 93 64 6f 93 6e 6f 74 93 6e 65 65 64 93 64 65 63 6c 61 72 | v..dDariables.do.not.need.declar |
0e40 | 61 74 69 6f 6e 2e 91 09 44 7b 41 6e 90 b2 21 79 93 76 98 61 72 69 61 62 6c 65 93 69 73 93 61 73 | ation...D{An..!y.v.ariable.is.as |
0e60 | 73 75 6d 65 64 93 74 6f 93 62 90 4d de 65 93 67 6c 6f 62 61 6c 93 75 6e 6c 65 73 73 8e a1 8d 91 | sumed.to.b.M.e.global.unless.... |
0e80 | fd 27 91 65 78 70 6c 69 63 69 74 6c 79 96 03 75 23 64 65 63 6c 61 72 65 64 93 6c 6f 9a 4d de 63 | .'.explicitly..u#declared.lo.M.c |
0ea0 | 61 6c 93 28 73 65 65 93 6c 6f 98 63 61 6c 93 64 65 63 6c 61 72 61 74 69 6f 6e 73 2c 9b 03 7e fd | al.(see.lo.cal.declarations,..~. |
0ec0 | 53 65 63 74 69 6f 6e 93 34 2e 34 2e 35 29 2e 91 04 cd 71 42 65 66 6f 72 65 93 74 68 65 93 0c 72 | Section.4.4.5)....qBefore.the..r |
0ee0 | 73 74 93 61 73 73 69 67 6e 6d 65 6e 90 b2 21 74 2c 98 74 68 65 8e a1 8d 91 fd 27 91 76 9b ff 64 | st.assignmen..!t,.the.....'.v..d |
0f00 | 44 61 6c 75 65 96 03 a6 66 6f 66 93 61 93 67 6c 6f 62 61 6c 93 76 98 61 72 69 61 62 6c 65 93 69 | Dalue...fof.a.global.v.ariable.i |
0f20 | 73 93 f3 27 1a f2 22 56 00 0a f3 33 00 0a 00 00 00 06 63 6d 62 78 31 30 d2 6e 69 6c cd 2e 8e a1 | s..'.."V...3......cmbx10.nil.... |
0f40 | 8d 91 0e 27 91 54 68 65 96 03 a6 66 75 6e 69 74 93 6f 66 93 65 78 65 63 75 74 69 6f 6e 93 6f 66 | ...'.The...funit.of.execution.of |
0f60 | 93 4c 75 61 93 69 73 93 63 61 6c 6c 65 64 93 61 93 d0 6d 6f 91 ff 70 b9 64 75 6c 65 91 00 d2 a1 | .Lua.is.called.a..mo..p.dule.... |
0f80 | cd 2e 91 04 dd dd 54 68 65 93 73 79 6e 90 b2 21 74 61 78 93 66 6f 72 93 6d 6f 90 4d de 64 75 6c | ......The.syn..!tax.for.mo.M.dul |
0fa0 | 65 73 93 69 73 3a 8d 8d 9f fc 06 be f3 0d 7c 7b 59 07 00 08 00 00 00 08 00 00 00 04 63 6d 72 38 | es.is:........|{Y...........cmr8 |
0fc0 | b8 31 8e 8e 8e a4 11 5f 26 8d 8d 8d 9e fb 83 8d 8d 91 11 4c 5b d0 6d 6f 91 ff 70 b9 64 75 6c 65 | .1....._&..........L[.mo..p.dule |
0fe0 | 8e 8d 91 3e 99 24 f3 24 21 22 2c 9a 00 0a f3 33 00 0a 00 00 00 06 63 6d 73 79 31 30 cf 21 8e 8d | ...>.$.$!",....3......cmsy10.!.. |
1000 | 91 55 8c 59 66 d0 73 74 61 74 65 6d 65 6e 74 91 07 d5 d4 cf 6a 91 03 ea ea d0 66 75 6e 63 74 69 | .U.Yf.statement.....j.....functi |
1020 | 6f 6e 91 00 d7 0b cf 67 8e 8e 8e 8e 8e a1 8d 90 b1 20 cd 41 91 02 89 47 6d 6f 90 4d de 64 75 6c | on.....g...........A...Gmo.M.dul |
1040 | 65 96 02 89 8f 6d 61 9a b2 21 79 93 63 6f 6e 98 74 61 69 6e 93 73 74 61 74 65 6d 65 6e 98 74 73 | e....ma..!y.con.tain.statemen.ts |
1060 | 93 61 6e 64 2f 6f 72 93 66 75 6e 63 74 69 6f 6e 93 64 65 0c 6e 69 74 69 6f 6e 73 2c 91 02 c2 87 | .and/or.function.de.nitions,.... |
1080 | 61 6e 64 93 6d 61 98 79 93 62 90 4d de 65 93 69 6e 93 61 93 0c 6c 65 93 6f 72 93 69 6e 93 61 93 | and.ma.y.b.M.e.in.a..le.or.in.a. |
10a0 | 73 74 72 69 6e 67 8e a4 0d 99 9a 8d 91 fd 27 91 69 6e 73 69 64 65 96 03 74 b8 74 68 65 93 68 6f | string........'.inside..t.the.ho |
10c0 | 73 74 93 70 72 6f 67 72 61 6d 2e 91 04 cd 4e 57 68 65 6e 93 61 93 6d 6f 90 4d de 64 75 6c 65 93 | st.program....NWhen.a.mo.M.dule. |
10e0 | 69 73 93 65 78 65 63 75 74 65 64 2c 91 03 7e a8 0c 72 73 74 93 61 6c 6c 93 69 74 73 93 66 75 6e | is.executed,..~..rst.all.its.fun |
1100 | 63 74 69 6f 6e 73 93 61 6e 64 93 73 74 61 74 65 6d 65 6e 90 b2 21 74 73 93 61 72 65 8e a1 8d 91 | ctions.and.statemen..!ts.are.... |
1120 | fd 27 91 63 6f 6d 70 69 6c 65 64 2c 91 03 16 68 61 6e 64 96 02 f2 68 74 68 65 93 66 75 6e 63 74 | .'.compiled,...hand...hthe.funct |
1140 | 69 6f 6e 73 93 61 64 64 65 64 93 74 6f 93 74 68 65 93 67 6c 6f 62 61 6c 93 65 6e 95 b2 21 76 69 | ions.added.to.the.global.en..!vi |
1160 | 72 6f 6e 6d 65 6e 93 74 3b 91 03 2e 68 74 68 65 6e 96 02 f2 68 74 68 65 93 73 74 61 74 65 6d 65 | ronmen.t;...hthen...hthe.stateme |
1180 | 6e 90 b2 21 74 73 93 61 72 65 93 65 78 65 63 75 74 65 64 8e a1 8d 91 fd 27 91 69 6e 96 03 a3 23 | n..!ts.are.executed.....'.in...# |
11a0 | 73 65 71 75 65 6e 90 b2 21 74 69 61 6c 93 6f 72 64 65 72 2e 91 04 dc c7 41 6c 6c 93 6d 6f 9a 4d | sequen..!tial.order.....All.mo.M |
11c0 | de 64 69 0c 63 61 74 69 6f 6e 73 93 61 93 6d 6f 98 64 75 6c 65 93 65 0b 65 63 74 73 93 6f 6e 93 | .di.cations.a.mo.dule.e.ects.on. |
11e0 | 74 68 65 93 67 6c 6f 62 61 6c 93 65 6e 95 b2 21 76 69 72 6f 6e 6d 65 6e 93 74 96 03 a3 23 70 98 | the.global.en..!vironmen.t...#p. |
1200 | 65 72 73 69 73 74 93 61 66 74 65 72 8e a1 8d 91 fd 27 91 69 74 73 96 03 a6 66 65 6e 64 2e 91 04 | ersist.after.....'.its...fend... |
1220 | dd dd 54 68 6f 73 65 93 69 6e 63 6c 75 64 65 93 6d 6f 90 4d de 64 69 0c 63 61 74 69 6f 6e 73 93 | ..Those.include.mo.M.di.cations. |
1240 | 74 6f 93 67 6c 6f 62 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c 65 73 93 61 6e 64 93 64 65 0c 6e | to.global.v..dDariables.and.de.n |
1260 | 69 74 69 6f 6e 73 93 6f 66 93 6e 65 77 93 66 75 6e 63 74 69 6f 6e 73 8d 8d 9f fc 06 be b8 32 8e | itions.of.new.functions.......2. |
1280 | 8e 91 04 c0 04 cd 2e 8e 9f 22 80 41 8d 8d 91 fd 27 91 e2 33 8e 91 15 fe 90 54 90 8a 3d 79 70 90 | .........".A....'..3.....T..=yp. |
12a0 | 75 c2 65 73 8e a6 8d 91 fd 27 91 cd 4c 75 61 96 03 cb de 69 73 93 61 93 64 79 6e 61 6d 69 63 61 | u.es.....'..Lua....is.a.dynamica |
12c0 | 6c 6c 79 93 74 9a b2 21 79 70 90 4d de 65 64 93 6c 61 6e 67 75 61 67 65 2e 91 05 4e 44 56 91 ff | lly.t..!yp.M.ed.language...NDV.. |
12e0 | 16 65 61 72 69 61 62 6c 65 73 93 64 6f 93 6e 6f 74 93 68 61 98 76 98 65 93 74 98 79 70 90 4d de | .eariables.do.not.ha.v.e.t.yp.M. |
1300 | 65 73 3b 91 03 de 9a 6f 6e 6c 79 93 76 9b ff 64 44 61 6c 75 65 73 93 64 6f 2e 91 05 4e 44 41 6c | es;....only.v..dDalues.do...NDAl |
1320 | 6c 93 76 98 61 6c 75 65 73 8e a1 8d 91 fd 27 91 63 61 72 72 79 96 03 a6 66 74 68 65 69 72 93 6f | l.v.alues.....'.carry...ftheir.o |
1340 | 9a b2 21 77 6e 93 74 98 79 70 90 4d de 65 2e 91 04 dd dd 54 68 65 72 65 66 6f 72 65 2c 93 74 68 | ..!wn.t.yp.M.e.....Therefore,.th |
1360 | 65 72 65 93 61 72 65 93 6e 6f 93 74 98 79 70 90 4d de 65 93 64 65 0c 6e 69 74 69 6f 6e 73 93 69 | ere.are.no.t.yp.M.e.de.nitions.i |
1380 | 6e 93 74 68 65 93 6c 61 6e 67 75 61 67 65 2e 8e a1 8d 91 0e 27 91 54 68 65 72 65 96 03 96 8a 61 | n.the.language......'.There....a |
13a0 | 72 65 93 73 65 76 9a b2 21 65 6e 93 62 61 73 69 63 93 74 98 79 70 90 4d de 65 73 93 69 6e 93 4c | re.sev..!en.basic.t.yp.M.es.in.L |
13c0 | 75 61 3a 91 04 d5 ef d0 6e 69 6c cd 2c 96 03 99 b6 d0 6e 75 6d 62 9b ff 70 b9 65 72 cd 2c 93 d0 | ua:.....nil.,.....numb..p.er.,.. |
13e0 | 73 74 72 69 6e 67 cd 2c 93 d0 66 75 6e 63 74 69 6f 6e cd 2c 93 d0 43 66 75 6e 63 74 69 6f 6e cd | string.,..function.,..Cfunction. |
1400 | 2c 93 d0 75 73 65 72 98 64 61 74 61 cd 2c 93 61 6e 64 8e a1 8d 91 fd 27 91 d0 74 61 62 6c 65 cd | ,..user.data.,.and.....'..table. |
1420 | 2e 91 06 17 b1 d0 4e 69 6c 96 04 0f 02 cd 69 73 93 74 68 65 93 74 90 b2 21 79 70 9a 4d de 65 93 | ......Nil.....is.the.t..!yp.M.e. |
1440 | 6f 66 93 74 68 65 93 76 91 ff 64 44 61 6c 75 65 93 d2 6e 69 6c cd 2c 91 04 29 29 77 68 6f 73 65 | of.the.v..dDalue..nil.,..))whose |
1460 | 93 6d 61 69 6e 93 70 72 6f 70 98 65 72 74 90 b2 21 79 93 69 73 93 74 6f 93 62 98 65 93 64 69 0b | .main.prop.ert..!y.is.to.b.e.di. |
1480 | 65 72 65 6e 9a b2 21 74 93 66 72 6f 6d 93 61 6e 98 79 93 6f 74 68 65 72 8e a1 8d 91 fd 27 91 76 | eren..!t.from.an.y.other.....'.v |
14a0 | 91 ff 64 44 61 6c 75 65 2e 91 04 dd dd d0 4e 75 6d 62 91 ff 70 b9 65 72 96 03 a6 66 cd 72 65 70 | ..dDalue......Numb..p.er...f.rep |
14c0 | 72 65 73 65 6e 9a b2 21 74 73 93 72 65 61 6c 93 28 0d 6f 61 74 69 6e 67 93 70 90 4d de 6f 69 6e | resen..!ts.real.(.oating.p.M.oin |
14e0 | 98 74 29 93 6e 98 75 6d 98 62 90 4d de 65 72 73 2c 93 77 68 69 6c 65 93 d0 73 74 72 69 6e 67 93 | .t).n.um.b.M.ers,.while..string. |
1500 | cd 68 61 73 93 74 68 65 93 75 73 75 61 6c 93 6d 65 61 6e 69 6e 67 2e 8e a1 8d 91 0e 27 91 46 91 | .has.the.usual.meaning......'.F. |
1520 | ff 16 65 75 6e 63 74 69 6f 6e 73 96 03 65 53 61 72 65 93 63 6f 6e 73 69 64 65 72 65 64 93 0c 72 | ..eunctions..eSare.considered..r |
1540 | 73 74 2d 63 6c 61 73 73 93 76 91 ff 64 44 61 6c 75 65 73 93 69 6e 93 4c 75 61 2e 91 04 c8 2c 54 | st-class.v..dDalues.in.Lua....,T |
1560 | 68 69 73 93 6d 65 61 6e 73 93 74 68 61 74 93 66 75 6e 63 74 69 6f 6e 73 93 63 61 6e 93 62 90 4d | his.means.that.functions.can.b.M |
1580 | de 65 93 73 74 6f 72 65 64 8e a1 8d 91 fd 27 91 69 6e 96 03 92 24 76 91 ff 64 44 61 72 69 61 62 | .e.stored.....'.in...$v..dDariab |
15a0 | 6c 65 73 2c 91 03 96 31 70 61 73 73 65 64 93 61 73 93 61 72 67 75 6d 65 6e 90 b2 21 74 73 93 74 | les,...1passed.as.argumen..!ts.t |
15c0 | 6f 93 6f 74 68 65 72 93 66 75 6e 63 74 69 6f 6e 73 93 61 6e 64 93 72 65 74 75 72 6e 65 64 93 61 | o.other.functions.and.returned.a |
15e0 | 73 93 72 65 73 75 6c 74 73 2e 91 04 d7 1c 57 68 65 6e 93 61 93 66 75 6e 63 74 69 6f 6e 8e a1 8d | s.results.....When.a.function... |
1600 | 91 fd 27 91 69 6e 96 04 5d 24 4c 75 61 93 69 73 93 64 65 0c 6e 65 64 2c 91 04 8a d3 69 74 73 93 | ..'.in..]$Lua.is.de.ned,....its. |
1620 | 62 95 4d de 6f 93 64 79 96 04 5d 24 69 73 93 63 6f 6d 70 69 6c 65 64 93 61 6e 64 93 73 74 6f 72 | b.M.o.dy..]$is.compiled.and.stor |
1640 | 65 64 93 69 6e 93 61 93 67 6c 6f 62 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c 65 93 77 69 74 68 | ed.in.a.global.v..dDariable.with |
1660 | 93 74 68 65 93 67 69 76 90 b2 21 65 6e 93 6e 61 6d 65 2e 8e 91 fd 27 91 9f 09 87 77 89 00 00 66 | .the.giv..!en.name....'....w...f |
1680 | 66 00 b3 d1 96 9f 0a 4c cd 8d 8d 8d 91 0c 7b ba 9f fc 2d 3d f3 04 b9 41 61 a8 00 06 00 00 00 06 | f......L......{...-=...Aa....... |
16a0 | 00 00 00 04 63 6d 72 36 af 31 8e 8e 91 10 a6 61 f3 12 6f b4 8b c7 00 09 00 00 00 09 00 00 00 04 | ....cmr6.1.....a..o............. |
16c0 | 63 6d 72 39 bd 41 73 96 02 f0 c3 75 73 75 61 6c 93 69 6e 93 65 78 74 65 6e 64 65 64 93 42 4e 46 | cmr9.As....usual.in.extended.BNF |
16e0 | 2c 93 f3 14 a9 b1 90 ca 00 09 00 00 00 09 00 00 00 05 63 6d 73 79 39 bf 66 f3 15 bc 6a 91 b9 00 | ,.................cmsy9.f...j... |
1700 | 09 00 00 00 09 00 00 00 05 63 6d 74 69 39 c0 61 9b 00 b6 39 bf 67 93 bd 6d 65 61 6e 73 93 30 93 | .........cmti9.a...9.g..means.0. |
1720 | 6f 72 93 6d 6f 72 65 93 c0 61 98 bd 27 73 2c 91 02 f8 14 5b c0 61 98 bd 5d 93 6d 65 61 6e 73 93 | or.more..a..'s,....[.a..].means. |
1740 | 61 6e 93 6f 70 74 69 6f 6e 61 6c 93 c0 61 93 bd 61 6e 64 93 bf 66 c0 61 98 bf 67 8d 9f fc 2d 3d | an.optional..a..and..f.a..g...-= |
1760 | af 2b 8e 91 09 0d 31 bd 6d 65 61 6e 73 93 6f 6e 65 93 6f 72 93 6d 6f 72 65 8e 9f 0b 00 00 8d c0 | .+....1.means.one.or.more....... |
1780 | 61 91 00 b6 39 bd 27 73 2e 8e 9f 0b 00 02 8d 8d 8d 91 0c 7b ba 9f fc 2d 3d af 32 8e 8e 91 10 a6 | a...9.'s...........{...-=.2..... |
17a0 | 61 bd 41 63 74 75 61 6c 6c 79 91 ff 3a ab 2c 96 03 15 54 61 93 66 75 6e 63 74 69 6f 6e 93 64 65 | a.Actually..:.,...Ta.function.de |
17c0 | 0c 6e 69 74 69 6f 6e 93 69 73 93 61 6e 93 61 73 73 69 67 6e 6d 65 6e 90 be 39 74 93 74 6f 93 61 | .nition.is.an.assignmen..9t.to.a |
17e0 | 93 67 6c 6f 62 61 6c 93 76 91 ff 7c 72 61 72 69 61 62 6c 65 3b 93 73 65 65 93 53 65 63 74 69 6f | .global.v..|rariable;.see.Sectio |
1800 | 6e 93 33 2e 8e 8e 9f 1c 73 e7 8d 92 00 db 31 a1 cd 32 8e 8e 8c 8b 00 00 00 03 00 00 00 00 00 00 | n.3.....s.....1..2.............. |
1820 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1840 | 05 fd a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 91 fd 27 91 cd 4c 75 | ......c...2......|...u.k...'..Lu |
1860 | 61 96 03 b2 40 63 61 6e 93 63 61 6c 6c 93 28 61 6e 64 93 6d 61 6e 69 70 75 6c 61 74 65 29 93 66 | a...@can.call.(and.manipulate).f |
1880 | 75 6e 63 74 69 6f 6e 73 93 77 72 69 74 74 65 6e 93 69 6e 93 4c 75 61 93 61 6e 64 93 66 75 6e 63 | unctions.written.in.Lua.and.func |
18a0 | 74 69 6f 6e 73 93 77 72 69 74 74 65 6e 93 69 6e 93 43 3b 93 74 68 65 93 6c 61 74 74 65 72 8e a4 | tions.written.in.C;.the.latter.. |
18c0 | 0d 99 9a 8d 91 fd 27 91 68 61 95 b2 21 76 93 65 9b 03 a6 66 74 93 79 70 90 4d de 65 98 d0 43 66 | ......'.ha..!v.e...ft.yp.M.e..Cf |
18e0 | 75 6e 63 74 69 6f 6e 91 00 d7 0b cd 2e 8e a1 8d 91 0e 27 91 54 68 65 96 03 da 48 74 9a b2 21 79 | unction...........'.The...Ht..!y |
1900 | 70 90 4d de 65 93 d0 75 73 65 72 91 ff 70 b9 64 61 74 61 93 cd 69 73 93 70 72 6f 98 76 69 64 65 | p.M.e..user..p.data..is.pro.vide |
1920 | 64 93 74 6f 93 61 6c 6c 6f 98 77 93 61 72 62 69 74 72 61 72 79 93 43 91 03 da 3a 70 90 4d de 6f | d.to.allo.w.arbitrary.C...:p.M.o |
1940 | 69 6e 98 74 65 72 73 93 74 6f 93 62 90 4d de 65 93 73 74 6f 72 65 64 93 69 6e 93 4c 75 61 93 76 | in.ters.to.b.M.e.stored.in.Lua.v |
1960 | 91 ff 64 44 61 72 69 61 62 6c 65 73 2e 8e a1 8d 91 fd 27 91 49 74 96 03 fe 4a 63 6f 72 72 65 73 | ..dDariables......'.It...Jcorres |
1980 | 70 9a 4d de 6f 6e 64 73 93 74 6f 93 d3 76 6f 69 64 2a 93 cd 61 6e 64 93 68 61 73 93 6e 6f 93 76 | p.M.onds.to..void*..and.has.no.v |
19a0 | 91 ff 64 44 61 6c 69 64 93 6f 70 98 65 72 61 74 69 6f 6e 73 93 69 6e 93 4c 75 61 2c 91 04 14 43 | ..dDalid.op.erations.in.Lua,...C |
19c0 | 62 98 65 73 69 64 65 73 93 61 73 73 69 67 6e 6d 65 6e 9a b2 21 74 93 61 6e 64 93 65 71 75 61 6c | b.esides.assignmen..!t.and.equal |
19e0 | 69 74 98 79 8e a1 8d 91 fd 27 91 74 65 73 74 2e 8e a1 8d 91 0e 27 91 54 68 65 96 03 32 d2 74 9a | it.y.....'.test......'.The..2.t. |
1a00 | b2 21 79 70 90 4d de 65 93 d0 74 61 62 6c 65 93 cd 69 6d 70 6c 65 6d 65 6e 98 74 73 93 61 73 73 | .!yp.M.e..table..implemen.ts.ass |
1a20 | 6f 90 4d de 63 69 61 74 69 76 98 65 93 61 72 72 61 98 79 73 2c 9b 03 49 ef 74 68 61 74 93 69 73 | o.M.ciativ.e.arra.ys,..I.that.is |
1a40 | 2c 98 61 72 72 61 90 b2 21 79 73 93 74 68 61 74 93 63 61 6e 93 62 9a 4d de 65 93 69 6e 64 65 78 | ,.arra..!ys.that.can.b.M.e.index |
1a60 | 65 64 93 62 98 6f 74 68 93 77 69 74 68 8e a1 8d 91 fd 27 91 6e 95 b2 21 75 6d 93 62 9a 4d de 65 | ed.b.oth.with.....'.n..!um.b.M.e |
1a80 | 72 73 96 04 6a c8 61 6e 64 93 77 69 74 68 93 73 74 72 69 6e 67 73 2e 91 07 2b 03 54 68 65 72 65 | rs..j.and.with.strings...+.There |
1aa0 | 66 6f 72 65 2c 91 04 9b e0 74 68 69 73 93 74 90 b2 21 79 70 98 65 93 6d 61 90 b2 21 79 93 62 98 | fore,....this.t..!yp.e.ma..!y.b. |
1ac0 | 65 93 75 73 65 64 93 6e 6f 74 93 6f 6e 6c 79 93 74 6f 93 72 65 70 72 65 73 65 6e 90 b2 21 74 93 | e.used.not.only.to.represen..!t. |
1ae0 | 6f 72 64 69 6e 61 72 79 8e a1 8d 91 fd 27 91 61 72 72 61 9a b2 21 79 73 2c 91 04 ef 60 62 75 74 | ordinary.....'.arra..!ys,...`but |
1b00 | 96 04 ad 95 61 6c 73 6f 93 73 79 6d 98 62 90 4d de 6f 6c 93 74 61 62 6c 65 73 2c 96 04 ef 60 73 | ....also.sym.b.M.ol.tables,...`s |
1b20 | 65 74 73 2c 93 72 65 63 6f 72 64 73 2c 93 65 74 63 2e 91 07 f3 69 54 91 ff 16 65 6f 96 04 ad 95 | ets,.records,.etc....iT...eo.... |
1b40 | 72 65 70 72 65 73 65 6e 98 74 93 61 93 72 65 63 6f 72 64 2c 91 04 ef 60 4c 75 61 93 75 73 65 73 | represen.t.a.record,...`Lua.uses |
1b60 | 93 74 68 65 93 0c 65 6c 64 8e a1 8d 91 fd 27 91 6e 61 6d 65 96 03 26 c4 61 73 93 61 6e 93 69 6e | .the..eld.....'.name..&.as.an.in |
1b80 | 64 65 78 2e 91 04 b3 52 54 68 65 93 6c 61 6e 67 75 61 67 65 93 73 75 70 70 90 4d de 6f 72 74 73 | dex....RThe.language.supp.M.orts |
1ba0 | 93 74 68 69 73 93 72 65 70 72 65 73 65 6e 9a b2 21 74 61 74 69 6f 6e 93 62 98 79 93 70 72 6f 98 | .this.represen..!tation.b.y.pro. |
1bc0 | 76 69 64 69 6e 67 93 d3 61 2e 6e 61 6d 65 93 cd 61 73 93 73 79 6e 98 74 61 63 74 69 63 8e a1 8d | viding..a.name..as.syn.tactic... |
1be0 | 91 fd 27 91 73 75 67 61 72 96 03 a6 66 66 6f 72 93 d3 61 5b 22 6e 61 6d 65 22 5d cd 2e 8e a1 8d | ..'.sugar...ffor..a["name"]..... |
1c00 | 91 0e 27 91 49 74 96 03 c6 f3 69 73 93 69 6d 70 90 4d de 6f 72 74 61 6e 9a b2 21 74 93 74 6f 93 | ..'.It....is.imp.M.ortan..!t.to. |
1c20 | 6e 6f 74 69 63 65 93 74 68 61 74 93 74 61 62 6c 65 73 93 61 72 65 93 6f 62 91 00 9b bb 6a 65 63 | notice.that.tables.are.ob....jec |
1c40 | 74 73 2c 91 03 cf 16 61 6e 64 93 6e 6f 74 93 76 91 ff 64 44 61 6c 75 65 73 2e 91 05 3f 83 56 91 | ts,....and.not.v..dDalues...?.V. |
1c60 | ff 16 65 61 72 69 61 62 6c 65 73 93 63 61 6e 6e 6f 74 93 63 6f 6e 98 74 61 69 6e 8e a1 8d 91 fd | ..eariables.cannot.con.tain..... |
1c80 | 27 91 74 61 62 6c 65 73 2c 9b 03 2d e3 6f 6e 6c 79 96 03 0f c2 72 65 66 65 72 65 6e 63 65 73 93 | '.tables,..-.only....references. |
1ca0 | 74 6f 93 74 68 65 6d 2e 91 04 ab a6 41 73 73 69 67 6e 6d 65 6e 90 b2 21 74 2c 98 70 61 72 61 6d | to.them.....Assignmen..!t,.param |
1cc0 | 65 74 65 72 93 70 61 73 73 69 6e 67 93 61 6e 64 93 72 65 74 75 72 6e 73 93 61 6c 77 95 b2 21 61 | eter.passing.and.returns.alw..!a |
1ce0 | 93 79 73 91 03 0f c2 6d 61 6e 69 70 75 6c 61 74 65 8e a1 8d 91 fd 27 91 72 65 66 65 72 65 6e 63 | .ys....manipulate.....'.referenc |
1d00 | 65 73 96 04 2a eb 74 6f 93 74 61 62 6c 65 73 2c 91 04 4c 0c 61 6e 64 93 64 6f 93 6e 6f 74 93 69 | es..*.to.tables,..L.and.do.not.i |
1d20 | 6d 70 6c 79 93 61 6e 9a b2 21 79 93 6b 69 6e 64 93 6f 66 93 63 6f 70 98 79 91 ff 16 65 2e 91 06 | mply.an..!y.kind.of.cop.y...e... |
1d40 | 6b 6d 4d 6f 72 65 6f 98 76 98 65 72 2c 91 04 4c 0c 74 61 62 6c 65 73 93 6d 98 75 73 74 93 62 90 | kmMoreo.v.er,..L.tables.m.ust.b. |
1d60 | 4d de 65 93 65 78 70 6c 69 63 69 74 6c 79 8e a1 8d 91 fd 27 91 63 72 65 61 74 65 64 96 03 a6 66 | M.e.explicitly.....'.created...f |
1d80 | 62 90 4d de 65 66 6f 72 65 93 75 73 65 64 3b 93 73 65 65 93 53 65 63 74 69 6f 6e 93 34 2e 35 2e | b.M.efore.used;.see.Section.4.5. |
1da0 | 37 2e 8e 9f 22 80 41 8d 8d 91 fd 27 91 e2 34 8e 91 15 fe 90 54 68 65 91 05 85 1c 4c 61 6e 67 75 | 7...".A....'..4.....The....Langu |
1dc0 | 61 67 65 8e 9f 18 71 8b 8d 91 fd 27 91 cd 54 68 69 73 96 03 a6 66 73 65 63 74 69 6f 6e 93 64 65 | age...q....'..This...fsection.de |
1de0 | 73 63 72 69 62 90 4d de 65 73 93 74 68 65 93 6c 65 78 69 73 2c 93 73 79 6e 9a b2 21 74 61 78 93 | scrib.M.es.the.lexis,.syn..!tax. |
1e00 | 61 6e 64 93 73 65 6d 61 6e 98 74 69 63 73 93 6f 66 93 4c 75 61 2e 8e 9f 1d 52 85 8d 8d 91 fd 27 | and.seman.tics.of.Lua....R.....' |
1e20 | 91 f3 30 c2 d6 4e a0 00 0c 00 00 00 0c 00 00 00 06 63 6d 62 78 31 32 db 34 2e 31 8e 91 1b e7 91 | ..0..N...........cmbx12.4.1..... |
1e40 | 4c 65 78 69 63 61 6c 91 04 80 00 43 6f 6e 95 a0 00 76 93 65 6e 93 74 69 6f 6e 73 8e 9f 14 ab ff | Lexical....Con...v.en.tions..... |
1e60 | 8d 91 fd 27 91 cd 4c 75 61 96 02 f9 0f 69 73 93 61 93 63 61 73 65 93 73 65 6e 73 69 74 69 76 9a | ...'..Lua....is.a.case.sensitiv. |
1e80 | b2 21 65 93 6c 61 6e 67 75 61 67 65 2e 91 04 a4 16 49 64 65 6e 98 74 69 0c 65 72 73 93 63 61 6e | .!e.language.....Iden.ti.ers.can |
1ea0 | 93 62 90 4d de 65 93 61 6e 98 79 93 73 74 72 69 6e 67 93 6f 66 93 6c 65 74 74 65 72 73 2c 96 03 | .b.M.e.an.y.string.of.letters,.. |
1ec0 | 1b ba 64 69 67 69 74 73 2c 93 61 6e 64 91 02 f9 0f 75 6e 64 65 72 73 63 6f 72 65 73 2c 8e a1 8d | ..digits,.and....underscores,... |
1ee0 | 91 fd 27 91 6e 6f 74 96 03 0e cc 62 90 4d de 65 67 69 6e 6e 69 6e 67 93 77 69 74 68 93 61 93 64 | ..'.not....b.M.eginning.with.a.d |
1f00 | 69 67 69 74 2e 91 04 ab 54 54 68 65 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 77 98 6f 72 64 73 | igit....TThe.follo..!wing.w.ords |
1f20 | 93 61 72 65 93 72 65 73 65 72 76 98 65 64 2c 91 03 2d 1e 61 6e 64 93 63 61 6e 6e 6f 74 93 62 90 | .are.reserv.ed,..-.and.cannot.b. |
1f40 | 4d de 65 93 75 73 65 64 93 61 73 93 69 64 65 6e 98 74 69 0c 65 72 73 3a 8e a9 16 99 9a 8d 91 30 | M.e.used.as.iden.ti.ers:.......0 |
1f60 | e4 8b d3 61 6e 64 96 22 7d fc 64 6f 91 2d fd 50 65 6c 73 65 93 65 6c 73 65 69 66 91 16 fe a8 65 | ...and."}.do.-.Pelse.elseif....e |
1f80 | 6e 64 8e a1 8d 91 30 e4 8b 66 75 6e 63 74 69 6f 6e 91 05 bf aa 69 66 91 2d fd 50 6c 6f 63 61 6c | nd....0..function....if.-.Plocal |
1fa0 | 91 1c be 52 6e 69 6c 91 28 3d a6 6e 6f 74 8e a1 8d 91 30 e4 8b 6f 72 91 28 3d a6 72 65 70 65 61 | ...Rnil.(=.not....0..or.(=.repea |
1fc0 | 74 96 16 fe a8 72 65 74 75 72 6e 93 75 6e 74 69 6c 91 1c be 52 74 68 65 6e 93 77 68 69 6c 65 8e | t....return.until...Rthen.while. |
1fe0 | a6 8d 91 0e 27 91 cd 54 68 65 96 03 a6 66 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 73 74 72 69 6e | ....'..The...ffollo..!wing.strin |
2000 | 67 73 93 64 65 6e 6f 74 65 93 6f 74 68 65 72 93 74 6f 6b 98 65 6e 73 3a 8e a6 8d 91 30 e4 8b d3 | gs.denote.other.tok.ens:....0... |
2020 | 7e 3d 96 0b 7f 54 3c 3d 93 3e 3d 93 3c 96 11 3e fe 3e 93 3d 93 2e 2e 91 0b 7f 54 2b 93 2d 93 2a | ~=...T<=.>=.<..>.>.=......T+.-.* |
2040 | 93 2f 93 25 8e a1 8d 91 30 e4 8b 28 96 11 3e fe 29 93 7b 93 7d 93 5b 93 5d 93 40 93 3b 93 2c 93 | ./.%....0..(..>.).{.}.[.].@.;.,. |
2060 | 2e 8e a6 8d 91 0e 27 91 cd 4c 69 74 65 72 61 6c 96 03 ea aa 73 74 72 69 6e 67 73 93 63 61 6e 93 | ......'..Literal....strings.can. |
2080 | 62 90 4d de 65 93 64 65 6c 69 6d 69 74 65 64 93 62 9a b2 21 79 93 6d 61 74 63 98 68 69 6e 67 93 | b.M.e.delimited.b..!y.matc.hing. |
20a0 | 73 69 6e 67 6c 65 93 6f 72 93 64 6f 75 62 6c 65 93 71 75 6f 74 65 73 2c 91 03 fb bb 61 6e 64 93 | single.or.double.quotes,....and. |
20c0 | 63 61 6e 93 63 6f 6e 98 74 61 69 6e 93 74 68 65 8e a1 8d 91 fd 27 91 43 2d 6c 69 6b 9a b2 21 65 | can.con.tain.the.....'.C-lik..!e |
20e0 | 96 03 5c 82 65 73 63 61 70 90 4d de 65 93 73 65 71 75 65 6e 63 65 73 93 d3 27 5c 6e 27 cd 2c 91 | ..\.escap.M.e.sequences..'\n'.,. |
2100 | 03 6b 49 d3 27 5c 74 27 93 cd 61 6e 64 93 d3 27 5c 72 27 cd 2e 91 04 c5 3c 43 6f 6d 6d 65 6e 98 | .kI.'\t'..and..'\r'.....<Commen. |
2120 | 74 73 93 73 74 61 72 74 93 61 6e 98 79 77 68 65 72 65 93 6f 75 74 73 69 64 65 93 61 93 73 74 72 | ts.start.an.ywhere.outside.a.str |
2140 | 69 6e 67 93 77 69 74 68 8e a1 8d 91 fd 27 91 61 96 03 a6 66 64 6f 75 62 6c 65 93 68 9a b2 21 79 | ing.with.....'.a...fdouble.h..!y |
2160 | 70 68 65 6e 93 28 d3 2d 2d cd 29 93 61 6e 64 93 72 75 6e 93 75 6e 98 74 69 6c 93 74 68 65 93 65 | phen.(.--.).and.run.un.til.the.e |
2180 | 6e 64 93 6f 66 93 74 68 65 93 6c 69 6e 65 2e 8e a1 8d 91 0e 27 91 4e 75 6d 65 72 69 63 61 6c 96 | nd.of.the.line......'.Numerical. |
21a0 | 02 cd c9 63 6f 6e 73 74 61 6e 9a b2 21 74 73 93 6d 61 98 79 93 62 90 4d de 65 93 77 72 69 74 74 | ...constan..!ts.ma.y.b.M.e.writt |
21c0 | 65 6e 93 77 69 74 68 93 61 6e 93 6f 70 74 69 6f 6e 61 6c 93 64 65 63 69 6d 61 6c 93 70 61 72 74 | en.with.an.optional.decimal.part |
21e0 | 2c 91 02 f9 1c 61 6e 64 93 61 6e 93 6f 70 74 69 6f 6e 61 6c 93 64 65 63 69 6d 61 6c 8e a1 8d 91 | ,....and.an.optional.decimal.... |
2200 | fd 27 91 65 78 70 90 4d de 6f 6e 65 6e 9a b2 21 74 2e 91 04 dd dd 45 78 61 6d 70 6c 65 73 96 03 | .'.exp.M.onen..!t.....Examples.. |
2220 | a6 66 6f 66 93 76 91 ff 64 44 61 6c 69 64 93 6e 98 75 6d 65 72 69 63 61 6c 93 63 6f 6e 73 74 61 | .fof.v..dDalid.n.umerical.consta |
2240 | 6e 98 74 73 93 61 72 65 3a 8e a6 8d 91 25 65 37 d3 34 96 1c be 52 34 2e 93 2e 34 93 34 2e 35 37 | n.ts.are:....%e7.4...R4...4.4.57 |
2260 | 65 2d 33 93 2e 33 65 31 32 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 34 2e 32 8e 91 1b e7 91 43 6f 90 | e-3..3e12...R.....'..4.2.....Co. |
2280 | 60 00 65 72 63 69 6f 6e 8e 9f 14 ab ff 8d 91 fd 27 91 cd 4c 75 61 96 04 03 30 70 72 6f 9a b2 21 | `.ercion........'..Lua...0pro..! |
22a0 | 76 69 64 65 73 93 73 6f 6d 65 93 61 75 74 6f 6d 61 74 69 63 93 63 6f 6e 98 76 98 65 72 73 69 6f | vides.some.automatic.con.v.ersio |
22c0 | 6e 73 2e 91 05 f4 3b 41 6e 98 79 93 61 72 69 74 68 6d 65 74 69 63 93 6f 70 90 4d de 65 72 61 74 | ns....;An.y.arithmetic.op.M.erat |
22e0 | 69 6f 6e 93 61 70 70 6c 69 65 64 93 74 6f 93 61 93 73 74 72 69 6e 67 93 74 72 69 65 73 8e a1 8d | ion.applied.to.a.string.tries... |
2300 | 91 fd 27 91 74 6f 9b 04 35 99 63 6f 6e 95 b2 21 76 93 65 72 74 98 74 68 61 74 98 73 74 72 69 6e | ..'.to..5.con..!v.ert.that.strin |
2320 | 67 98 74 6f 98 61 98 6e 93 75 6d 93 62 90 4d de 65 72 2c 91 04 59 66 66 6f 6c 6c 6f 93 77 69 6e | g.to.a.n.um.b.M.er,..Yffollo.win |
2340 | 67 98 74 68 65 98 75 73 75 61 6c 98 72 75 6c 65 73 2e 91 06 8b 77 4d 6f 72 65 98 73 70 90 4d de | g.the.usual.rules....wMore.sp.M. |
2360 | 65 63 69 0c 63 61 6c 6c 79 91 ff 16 65 2c 91 04 59 66 74 68 65 98 73 74 72 69 6e 67 98 69 73 8e | eci.cally...e,..Yfthe.string.is. |
2380 | a1 8d 91 fd 27 91 63 6f 6e 95 b2 21 76 93 65 72 74 65 64 96 03 5b dd 74 6f 93 61 93 6e 95 b2 21 | ....'.con..!v.erted..[.to.a.n..! |
23a0 | 75 6d 93 62 9a 4d de 65 72 96 03 5b dd 75 73 69 6e 67 93 74 68 65 93 73 74 61 6e 64 61 72 64 93 | um.b.M.er..[.using.the.standard. |
23c0 | d3 73 74 72 74 6f 64 93 cd 43 91 03 5b ca 66 75 6e 63 74 69 6f 6e 2e 91 04 c5 05 43 6f 6e 95 b2 | .strtod..C..[.function.....Con.. |
23e0 | 21 76 93 65 72 73 65 6c 79 91 ff 16 65 2c 91 03 6a c5 77 68 65 6e 65 76 93 65 72 96 03 5b dd 61 | !v.ersely...e,..j.whenev.er..[.a |
2400 | 93 6e 95 b2 21 75 6d 93 62 98 65 72 8e a1 8d 91 fd 27 91 69 73 96 05 3d 96 75 73 65 64 93 77 68 | .n..!um.b.er.....'.is..=.used.wh |
2420 | 65 6e 93 61 93 73 74 72 69 6e 67 93 69 73 93 65 78 70 9a 4d de 65 63 74 65 64 2c 91 05 a3 61 74 | en.a.string.is.exp.M.ected,...at |
2440 | 68 61 74 93 6e 95 b2 21 75 6d 93 62 98 65 72 96 05 3d 96 69 73 93 63 6f 6e 95 b2 21 76 93 65 72 | hat.n..!um.b.er..=.is.con..!v.er |
2460 | 74 65 64 96 05 3d 96 74 6f 93 61 93 73 74 72 69 6e 67 2c 91 05 a3 61 61 63 63 6f 72 64 69 6e 67 | ted..=.to.a.string,...aaccording |
2480 | 93 74 6f 93 74 68 65 8e a1 8d 91 fd 27 91 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 96 04 74 d8 72 75 | .to.the.....'.follo..!wing..t.ru |
24a0 | 6c 65 3a 91 06 7a c1 69 66 93 74 68 65 93 6e 98 75 6d 98 62 90 4d de 65 72 93 69 73 93 61 6e 93 | le:..z.if.the.n.um.b.M.er.is.an. |
24c0 | 69 6e 98 74 65 67 65 72 2c 91 04 a8 74 69 74 93 69 73 93 77 72 69 74 74 65 6e 93 77 69 74 68 6f | in.teger,...tit.is.written.witho |
24e0 | 75 74 93 65 78 70 90 4d de 6f 6e 65 6e 98 74 93 6f 72 93 64 65 63 69 6d 61 6c 93 70 90 4d de 6f | ut.exp.M.onen.t.or.decimal.p.M.o |
2500 | 69 6e 98 74 3b 8e a1 8d 91 fd 27 91 6f 74 68 65 72 77 69 73 65 2c 91 04 50 50 69 74 96 04 2e 55 | in.t;.....'.otherwise,..PPit...U |
2520 | 69 73 93 66 6f 72 6d 61 74 74 65 64 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 74 68 65 93 5c d3 | is.formatted.follo..!wing.the.\. |
2540 | 25 67 cd 22 93 63 6f 6e 98 76 98 65 72 73 69 6f 6e 93 73 70 90 4d de 65 63 69 0c 63 61 74 69 6f | %g.".con.v.ersion.sp.M.eci.catio |
2560 | 6e 93 6f 66 93 74 68 65 93 73 74 61 6e 64 61 72 64 93 d3 70 72 69 6e 74 66 8e a1 8d 91 fd 27 91 | n.of.the.standard..printf.....'. |
2580 | cd 43 91 03 a6 66 66 75 6e 63 74 69 6f 6e 2e 8e 8e 9f 1c 73 e7 8d 92 00 db 31 a1 33 8e 8e 8c 8b | .C...ffunction.....s.....1.3.... |
25a0 | 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
25c0 | 00 00 00 00 00 00 00 00 00 00 18 15 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 | ................c...2......|...u |
25e0 | e5 6b 8d 8d 91 fd 27 91 db 34 2e 33 8e 91 1b e7 91 41 64 6a 75 73 74 6d 65 6e 90 a0 00 74 8e a9 | .k....'..4.3.....Adjustmen...t.. |
2600 | 14 ab ff 8d 91 fd 27 91 cd 46 91 ff 16 65 75 6e 63 74 69 6f 6e 73 96 03 b3 bc 69 6e 93 4c 75 61 | ......'..F...eunctions....in.Lua |
2620 | 93 63 61 6e 93 72 65 74 75 72 6e 93 6d 61 6e 9a b2 21 79 93 76 91 ff 64 44 61 6c 75 65 73 2e 91 | .can.return.man..!y.v..dDalues.. |
2640 | 05 05 df 42 65 63 61 75 73 65 93 74 68 65 72 65 93 61 72 65 93 6e 6f 93 74 98 79 70 90 4d de 65 | ...Because.there.are.no.t.yp.M.e |
2660 | 93 64 65 63 6c 61 72 61 74 69 6f 6e 73 2c 91 03 b7 11 74 68 65 93 73 79 73 74 65 6d 8e a4 0d 99 | .declarations,....the.system.... |
2680 | 9a 8d 91 fd 27 91 64 6f 90 4d de 65 73 96 03 d9 0c 6e 6f 74 93 6b 6e 6f 9a b2 21 77 93 68 6f 98 | ....'.do.M.es....not.kno..!w.ho. |
26a0 | 77 93 6d 61 6e 98 79 93 76 9b ff 64 44 61 6c 75 65 73 93 61 93 66 75 6e 63 74 69 6f 6e 93 77 69 | w.man.y.v..dDalues.a.function.wi |
26c0 | 6c 6c 93 72 65 74 75 72 6e 2e 91 05 75 d0 54 68 65 72 65 66 6f 72 65 2c 96 03 e5 b6 73 6f 6d 65 | ll.return...u.Therefore,....some |
26e0 | 74 69 6d 65 73 2c 93 61 96 03 d9 0c 6c 69 73 74 93 6f 66 93 76 98 61 6c 75 65 73 8e a1 8d 91 fd | times,.a....list.of.v.alues..... |
2700 | 27 91 6d 90 b2 21 75 73 74 96 03 59 2c 62 90 4d de 65 93 d0 61 64 6a 75 73 74 65 91 ff 70 b9 64 | '.m..!ust..Y,b.M.e..adjuste..p.d |
2720 | 91 01 21 aa cd 2c 9b 03 68 9e 61 74 93 72 75 6e 93 74 69 6d 65 2c 98 74 6f 93 61 93 67 69 76 90 | ..!..,..h.at.run.time,.to.a.giv. |
2740 | b2 21 65 6e 93 6c 65 6e 67 74 68 2e 91 04 c4 1f 49 66 93 74 68 65 72 65 93 61 72 65 93 6d 6f 72 | .!en.length.....If.there.are.mor |
2760 | 65 93 76 91 ff 64 44 61 6c 75 65 73 93 74 68 61 6e 93 61 72 65 93 6e 65 65 64 65 64 2c 98 74 68 | e.v..dDalues.than.are.needed,.th |
2780 | 65 8e a1 8d 91 fd 27 91 6c 61 73 74 96 03 e3 69 76 91 ff 64 44 61 6c 75 65 73 93 61 72 65 93 74 | e.....'.last...iv..dDalues.are.t |
27a0 | 68 72 6f 9a b2 21 77 6e 93 61 98 77 98 61 98 79 91 ff 16 65 2e 91 05 94 e7 49 66 93 74 68 65 72 | hro..!wn.a.w.a.y...e.....If.ther |
27c0 | 65 93 61 72 65 93 6d 6f 72 65 93 6e 65 65 64 73 93 74 68 61 6e 93 76 91 ff 64 44 61 6c 75 65 73 | e.are.more.needs.than.v..dDalues |
27e0 | 2c 91 03 f2 aa 74 68 65 93 6c 69 73 74 93 69 73 93 65 78 74 65 6e 64 65 64 93 77 69 74 68 93 61 | ,....the.list.is.extended.with.a |
2800 | 73 8e a1 8d 91 fd 27 91 6d 61 6e 9a b2 21 79 96 03 a6 66 d2 6e 69 6c cd 27 73 93 61 73 93 6e 65 | s.....'.man..!y...f.nil.'s.as.ne |
2820 | 65 64 65 64 2e 91 04 dd dd 41 64 6a 75 73 74 6d 65 6e 98 74 93 61 6c 73 6f 93 6f 90 4d de 63 63 | eded.....Adjustmen.t.also.o.M.cc |
2840 | 75 72 73 93 69 6e 93 6f 74 68 65 72 93 63 6f 6e 98 74 65 78 74 73 2c 93 73 75 63 98 68 93 61 73 | urs.in.other.con.texts,.suc.h.as |
2860 | 93 6d 98 75 6c 74 69 70 6c 65 93 61 73 73 69 67 6e 6d 65 6e 98 74 2e 8e 9f 1d 52 85 8d 8d 91 fd | .m.ultiple.assignmen.t....R..... |
2880 | 27 91 db 34 2e 34 8e 91 1b e7 91 53 74 61 74 65 6d 65 6e 90 a0 00 74 73 8e a6 8d 91 fd 27 91 cd | '..4.4.....Statemen...ts.....'.. |
28a0 | 4c 75 61 96 04 18 1a 73 75 70 70 90 4d de 6f 72 74 73 93 61 6e 93 61 6c 6d 6f 73 74 93 63 6f 6e | Lua....supp.M.orts.an.almost.con |
28c0 | 95 b2 21 76 93 65 6e 93 74 69 6f 6e 61 6c 96 04 18 1a 73 65 74 93 6f 66 93 73 74 61 74 65 6d 65 | ..!v.en.tional....set.of.stateme |
28e0 | 6e 9a b2 21 74 73 2e 91 06 32 fa 54 68 65 93 63 6f 6e 98 76 98 65 6e 98 74 69 6f 6e 61 6c 93 63 | n..!ts...2.The.con.v.en.tional.c |
2900 | 6f 6d 6d 61 6e 64 73 93 69 6e 63 6c 75 64 65 8e a1 8d 91 fd 27 91 61 73 73 69 67 6e 6d 65 6e 95 | ommands.include.....'.assignmen. |
2920 | b2 21 74 2c 91 03 89 ee 63 6f 6e 93 74 72 6f 6c 96 03 82 d0 73 74 72 75 63 74 75 72 65 73 93 61 | .!t,....con.trol....structures.a |
2940 | 6e 64 93 70 72 6f 90 4d de 63 65 64 75 72 65 93 63 61 6c 6c 73 2e 91 04 d2 00 4e 6f 6e 2d 63 6f | nd.pro.M.cedure.calls.....Non-co |
2960 | 6e 95 b2 21 76 93 65 6e 93 74 69 6f 6e 61 6c 96 03 82 d0 63 6f 6d 6d 61 6e 64 73 93 69 6e 63 6c | n..!v.en.tional....commands.incl |
2980 | 75 64 65 93 74 61 62 6c 65 8e a1 8d 91 fd 27 91 63 6f 6e 73 74 72 75 63 74 6f 72 73 2c 96 03 a6 | ude.table.....'.constructors,... |
29a0 | 66 65 78 70 6c 61 69 6e 65 64 93 69 6e 93 53 65 63 74 69 6f 6e 93 34 2e 35 2e 37 2c 93 61 6e 64 | fexplained.in.Section.4.5.7,.and |
29c0 | 93 6c 6f 90 4d de 63 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c 65 93 64 65 63 6c 61 72 61 74 69 | .lo.M.cal.v..dDariable.declarati |
29e0 | 6f 6e 73 2e 8e 9f 1c ec 1f 8d 8d 91 fd 27 91 d2 34 2e 34 2e 31 8e 91 23 a1 a2 42 6c 6f 90 59 8b | ons..........'..4.4.1..#..Blo.Y. |
2a00 | 63 90 a6 74 6b 73 8e a6 8d 91 fd 27 91 cd 41 91 03 04 e2 62 6c 6f 90 4d de 63 9a b2 21 6b 96 03 | c..tks.....'..A....blo.M.c..!k.. |
2a20 | 05 0b 69 73 93 61 93 6c 69 73 74 93 6f 66 93 73 74 61 74 65 6d 65 6e 98 74 73 2c 91 03 25 51 65 | ..is.a.list.of.statemen.ts,..%Qe |
2a40 | 78 65 63 75 74 65 64 93 73 65 71 75 65 6e 98 74 69 61 6c 6c 79 91 ff 16 65 2e 91 04 a8 14 41 6e | xecuted.sequen.tially...e.....An |
2a60 | 98 79 93 73 74 61 74 65 6d 65 6e 98 74 93 63 61 6e 93 62 90 4d de 65 93 6f 70 74 69 6f 6e 61 6c | .y.statemen.t.can.b.M.e.optional |
2a80 | 6c 79 93 66 6f 6c 6c 6f 98 77 98 65 64 8e a1 8d 91 fd 27 91 62 90 b2 21 79 96 03 a6 66 61 93 73 | ly.follo.w.ed.....'.b..!y...fa.s |
2aa0 | 65 6d 69 63 6f 6c 6f 6e 2e 8e 9f 17 3d 02 8d 8d 8d 9f f9 2e b7 8d 8d 91 11 4c 5b d0 62 6c 6f 91 | emicolon....=............L[.blo. |
2ac0 | ff 70 b9 63 6b 8e 8d 91 34 3e 91 cf 21 8e 8d 91 4b 31 c6 66 d0 73 74 61 74 96 03 ea ea 73 63 9b | .p.ck...4>..!...K1.f.stat....sc. |
2ae0 | 00 9e 75 cf 67 93 cd 5b d0 72 91 ff 70 b9 65 74 93 73 63 98 cd 5d 8e 8e 9f 0d 99 99 8d 8d 91 1e | ..u.g..[.r..p.et.sc..].......... |
2b00 | ba ea d0 73 63 8e 8d 91 34 3e 91 cf 21 8e 8d 91 4b 31 c6 cd 5b 27 3b 27 5d 8e 8e 8e 8e 8e 9f 17 | ...sc...4>..!...K1..[';']....... |
2b20 | 3d 03 8d 90 6f 56 46 91 ff 16 65 6f 72 96 03 47 c5 73 79 6e 9a b2 21 74 61 63 74 69 63 93 72 65 | =...oVF...eor..G.syn..!tactic.re |
2b40 | 61 73 6f 6e 73 2c 91 03 5a b2 61 93 72 65 74 75 72 6e 93 73 74 61 74 65 6d 65 6e 98 74 93 63 61 | asons,..Z.a.return.statemen.t.ca |
2b60 | 6e 93 6f 6e 6c 79 93 62 90 4d de 65 93 77 72 69 74 74 65 6e 93 61 73 93 74 68 65 93 6c 61 73 74 | n.only.b.M.e.written.as.the.last |
2b80 | 93 73 74 61 74 65 6d 65 6e 98 74 93 6f 66 93 61 93 62 6c 6f 90 4d de 63 98 6b 2e 8e a1 8d 91 fd | .statemen.t.of.a.blo.M.c.k...... |
2ba0 | 27 91 54 68 69 73 96 03 a6 66 72 65 73 74 72 69 63 74 69 6f 6e 93 61 6c 73 6f 93 61 95 b2 21 76 | '.This...frestriction.also.a..!v |
2bc0 | 93 6f 69 64 73 96 03 a6 66 73 6f 6d 65 93 5c 73 74 61 74 65 6d 65 6e 9a b2 21 74 93 6e 6f 74 93 | .oids...fsome.\statemen..!t.not. |
2be0 | 72 65 61 63 98 68 65 64 22 93 65 72 72 6f 72 73 2e 8e 9f 1c ec 1f 8d 8d 91 fd 27 91 d2 34 2e 34 | reac.hed".errors..........'..4.4 |
2c00 | 2e 32 8e 91 23 a1 a2 41 73 73 69 67 6e 6d 65 6e 90 a6 74 74 8e a6 8d 91 fd 27 91 cd 54 68 65 96 | .2..#..Assignmen..tt.....'..The. |
2c20 | 04 08 dc 6c 61 6e 67 75 61 67 65 93 61 6c 6c 6f 9a b2 21 77 73 93 6d 98 75 6c 74 69 70 6c 65 93 | ...language.allo..!ws.m.ultiple. |
2c40 | 61 73 73 69 67 6e 6d 65 6e 98 74 2e 91 06 05 3e 54 68 65 72 65 66 6f 72 65 2c 91 04 21 79 74 68 | assignmen.t....>Therefore,..!yth |
2c60 | 65 93 73 79 6e 98 74 61 78 93 64 65 0c 6e 65 73 93 61 93 6c 69 73 74 93 6f 66 93 76 91 ff 64 44 | e.syn.tax.de.nes.a.list.of.v..dD |
2c80 | 61 72 69 61 62 6c 65 73 93 6f 6e 8e a1 8d 91 fd 27 91 74 68 65 96 03 02 b3 6c 65 66 74 93 73 69 | ariables.on.....'.the....left.si |
2ca0 | 64 65 2c 91 03 23 71 61 6e 64 93 61 93 6c 69 73 74 93 6f 66 93 65 78 70 72 65 73 73 69 6f 6e 73 | de,..#qand.a.list.of.expressions |
2cc0 | 93 6f 6e 93 74 68 65 93 72 69 67 68 9a b2 21 74 93 73 69 64 65 2e 91 04 a7 4c 42 6f 74 68 93 6c | .on.the.righ..!t.side....LBoth.l |
2ce0 | 69 73 74 73 93 68 61 98 76 98 65 93 74 68 65 69 72 93 65 6c 65 6d 65 6e 98 74 73 93 73 65 70 61 | ists.ha.v.e.their.elemen.ts.sepa |
2d00 | 72 61 74 65 64 8e a1 8d 91 fd 27 91 62 90 b2 21 79 91 03 a6 66 63 6f 6d 6d 61 73 2e 8e a9 17 3d | rated.....'.b..!y...fcommas....= |
2d20 | 02 8d 8d 8d 9f f9 2e b7 8d 8d 91 23 11 4b d0 73 74 61 74 8e 8d 91 40 6a c7 cf 21 8e 8d 91 57 5d | ...........#.K.stat...@j..!...W] |
2d40 | fc d0 76 61 72 6c 69 73 74 31 96 03 ea ea cd 27 3d 27 93 d0 65 78 70 6c 69 73 74 31 8e 8e 9f 0d | ..varlist1.....'='..explist1.... |
2d60 | 99 99 8d 8d 91 11 4c 5b 76 61 72 6c 69 73 74 31 8e 8d 91 40 6a c7 cf 21 8e 8d 91 57 5d fc d0 76 | ......L[varlist1...@j..!...W]..v |
2d80 | 61 72 96 03 ea ea cf 66 cd 27 2c 27 93 d0 76 61 72 91 01 2d bb cf 67 8e 8e 8e 8e 8e 9f 17 3d 03 | ar.....f.','..var..-..g.......=. |
2da0 | 8d 90 7c 5b cd 54 68 69 73 96 03 54 ca 73 74 61 74 65 6d 65 6e 90 b2 21 74 93 0c 72 73 74 93 65 | ..|[.This..T.statemen..!t..rst.e |
2dc0 | 76 9b ff 64 44 61 6c 75 61 74 65 73 93 61 6c 6c 93 76 98 61 6c 75 65 73 93 6f 6e 93 74 68 65 93 | v..dDaluates.all.v.alues.on.the. |
2de0 | 72 69 67 68 9a b2 21 74 93 73 69 64 65 93 61 6e 64 93 65 76 98 65 6e 98 74 75 61 6c 93 69 6e 64 | righ..!t.side.and.ev.en.tual.ind |
2e00 | 69 63 65 73 93 6f 6e 93 74 68 65 93 6c 65 66 74 93 73 69 64 65 2c 8e a1 8d 91 fd 27 91 61 6e 64 | ices.on.the.left.side,.....'.and |
2e20 | 96 03 a6 66 74 68 65 6e 93 6d 61 6b 9a b2 21 65 73 93 74 68 65 93 61 73 73 69 67 6e 6d 65 6e 98 | ...fthen.mak..!es.the.assignmen. |
2e40 | 74 73 2e 91 04 dd dd 54 68 65 72 65 66 6f 72 65 2c 93 69 74 93 63 61 6e 93 62 90 4d de 65 93 75 | ts.....Therefore,.it.can.b.M.e.u |
2e60 | 73 65 64 93 74 6f 93 65 78 63 98 68 61 6e 67 65 93 74 98 77 98 6f 93 76 91 ff 64 44 61 6c 75 65 | sed.to.exc.hange.t.w.o.v..dDalue |
2e80 | 73 2c 93 61 73 93 69 6e 8e a4 16 99 9a 8d 91 0e 66 8f d3 78 2c 96 05 bf aa 79 93 3d 93 79 2c 93 | s,.as.in........f..x,....y.=.y,. |
2ea0 | 78 8e a1 8d 91 fd 27 91 cd 42 65 66 6f 72 65 96 04 3a 1e 74 68 65 93 61 73 73 69 67 6e 6d 65 6e | x.....'..Before..:.the.assignmen |
2ec0 | 90 b2 21 74 2c 91 04 5f 0b 74 68 65 93 6c 69 73 74 93 6f 66 93 76 9b ff 64 44 61 6c 75 65 73 93 | ..!t,.._.the.list.of.v..dDalues. |
2ee0 | 69 73 93 d0 61 64 6a 75 73 74 65 91 ff 70 b9 64 93 cd 74 6f 93 74 68 65 93 6c 65 6e 67 74 68 93 | is..adjuste..p.d..to.the.length. |
2f00 | 6f 66 93 74 68 65 93 6c 69 73 74 93 6f 66 93 76 98 61 72 69 61 62 6c 65 73 93 28 73 65 65 8e a4 | of.the.list.of.v.ariables.(see.. |
2f20 | 0d 99 9a 8d 91 fd 27 91 53 65 63 74 69 6f 6e 91 03 a6 66 34 2e 33 29 2e 8e a1 8d 91 0e 27 91 41 | ......'.Section...f4.3)......'.A |
2f40 | 96 03 a6 66 73 69 6e 67 6c 65 93 6e 61 6d 65 93 63 61 6e 93 64 65 6e 6f 74 65 93 61 93 67 6c 6f | ...fsingle.name.can.denote.a.glo |
2f60 | 62 61 6c 93 6f 72 93 61 93 6c 6f 90 4d de 63 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c 65 2e 8e | bal.or.a.lo.M.cal.v..dDariable.. |
2f80 | a6 8d 8d 8d 9f f9 2e b7 8d 8d 91 11 4c 5b d0 76 61 72 8e 8d 91 2c 8c 90 cf 21 8e 8d 91 43 7f c5 | ............L[.var...,...!...C.. |
2fa0 | d0 6e 61 6d 65 8e 8e 9f 0d 99 99 8d 8d 91 11 4c 5b 76 61 72 8e 8d 91 2c 8c 90 cf 21 8e 8d 91 43 | .name..........L[var...,...!...C |
2fc0 | 7f c5 d0 76 61 72 96 03 ea ea cd 27 5b 27 93 d0 65 78 70 31 93 cd 27 5d 27 91 07 d5 d4 cf 6a 93 | ...var.....'['..exp1..']'.....j. |
2fe0 | d0 76 61 72 93 cd 27 2e 27 91 05 09 76 d0 6e 61 6d 65 8e 8e 8e 8e 8e 9f 17 3d 03 8d 91 01 15 34 | .var..'.'...v.name.......=.....4 |
3000 | cd 42 72 61 63 95 b2 21 6b 93 65 74 73 96 03 ed a3 61 72 65 93 75 73 65 64 93 74 6f 93 69 6e 64 | .Brac..!k.ets....are.used.to.ind |
3020 | 65 78 93 61 93 74 61 62 6c 65 2e 91 05 b3 95 49 6e 93 74 68 69 73 93 63 61 73 65 2c 91 03 ff 72 | ex.a.table.....In.this.case,...r |
3040 | d3 76 61 72 93 cd 6d 90 b2 21 75 73 74 93 72 65 73 75 6c 74 93 69 6e 93 61 93 74 61 62 6c 65 93 | .var..m..!ust.result.in.a.table. |
3060 | 76 91 ff 64 44 61 6c 75 65 3b 91 04 11 42 6f 74 68 65 72 77 69 73 65 2c 8e a1 8d 91 fd 27 91 74 | v..dDalue;...Botherwise,.....'.t |
3080 | 68 65 72 65 96 03 a6 66 69 73 93 61 6e 93 65 78 65 63 75 74 69 6f 6e 93 65 72 72 6f 72 2e 91 04 | here...fis.an.execution.error... |
30a0 | dd dd 54 68 65 93 73 79 6e 9a b2 21 74 61 78 93 d3 76 61 72 2e 4e 41 4d 45 93 cd 69 73 93 6a 75 | ..The.syn..!tax..var.NAME..is.ju |
30c0 | 73 74 93 73 79 6e 98 74 61 63 74 69 63 93 73 75 67 61 72 93 66 6f 72 93 d3 76 61 72 5b 22 4e 41 | st.syn.tactic.sugar.for..var["NA |
30e0 | 4d 45 22 5d cd 2e 8e 9f 1c ec 1f 8d 8d 91 fd 27 91 d2 34 2e 34 2e 33 8e 91 23 a1 a2 43 6f 6e 90 | ME"]...........'..4.4.3..#..Con. |
3100 | a6 74 74 72 6f 6c 91 04 32 8d 53 74 72 75 63 74 75 72 65 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 54 | .ttrol..2.Structures........'..T |
3120 | 68 65 96 03 7f c1 63 6f 6e 64 69 74 69 6f 6e 93 65 78 70 72 65 73 73 69 6f 6e 93 6f 66 93 61 93 | he....condition.expression.of.a. |
3140 | 63 6f 6e 9a b2 21 74 72 6f 6c 93 73 74 72 75 63 74 75 72 65 93 63 61 6e 93 72 65 74 75 72 6e 93 | con..!trol.structure.can.return. |
3160 | 61 6e 98 79 93 76 9b ff 64 44 61 6c 75 65 2e 91 04 d0 fb 41 6c 6c 93 76 98 61 6c 75 65 73 93 64 | an.y.v..dDalue.....All.v.alues.d |
3180 | 69 0b 65 72 65 6e 90 b2 21 74 93 66 72 6f 6d 8e a1 8d 91 fd 27 91 d2 6e 69 6c 96 03 c2 5f cd 61 | i.eren..!t.from.....'..nil..._.a |
31a0 | 72 65 93 63 6f 6e 73 69 64 65 72 65 64 93 74 72 75 65 2c 9b 03 c9 5e 77 68 69 6c 65 93 d2 6e 69 | re.considered.true,...^while..ni |
31c0 | 6c 93 cd 69 73 93 63 6f 6e 73 69 64 65 72 65 64 93 66 61 6c 73 65 2e 91 05 31 c9 d3 49 66 cd 73 | l..is.considered.false...1..If.s |
31e0 | 2c 98 d3 77 68 69 6c 65 cd 73 93 61 6e 64 93 d3 72 65 70 65 61 74 cd 73 93 68 61 95 b2 21 76 93 | ,..while.s.and..repeat.s.ha..!v. |
3200 | 65 96 03 c2 5f 74 68 65 93 75 73 75 61 6c 8e a1 8d 91 fd 27 91 6d 65 61 6e 69 6e 67 2e 8e 8e 9f | e..._the.usual.....'.meaning.... |
3220 | 1c 73 e7 8d 92 00 db 31 a1 34 8e 8e 8c 8b 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .s.....1.4...................... |
3240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25 9f a0 02 cd 02 63 8d | ........................%.....c. |
3260 | a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 89 d5 69 8d 8d 8d 9f eb 95 1e 8d 8d 91 18 03 a2 d0 73 74 | ..2......|.....i..............st |
3280 | 61 74 8e 8d 91 35 5d 1e cf 21 8e 8d 91 4c 50 53 d2 77 68 69 6c 65 96 03 ea ea d0 65 78 70 31 93 | at...5]..!...LPS.while.....exp1. |
32a0 | d2 64 6f 93 d0 62 6c 6f 91 ff 70 b9 63 6b 93 d2 65 6e 64 8e 8e a4 0d 99 99 8d 8d 91 18 03 a2 d0 | .do..blo..p.ck..end............. |
32c0 | 73 74 61 74 8e 8d 91 35 5d 1e cf 21 8e 8d 91 4c 50 53 d2 72 65 70 90 59 8b 65 61 74 96 03 ea ea | stat...5]..!...LPS.rep.Y.eat.... |
32e0 | d0 62 6c 6f 91 ff 70 b9 63 6b 93 d2 75 6e 90 a6 74 74 69 6c 93 d0 65 78 70 31 8e 8e a1 8d 8d 91 | .blo..p.ck..un..ttil..exp1...... |
3300 | 18 03 a2 73 74 61 74 8e 8d 91 35 5d 1e cf 21 8e 8d 91 4c 50 53 d2 69 66 96 03 ea ea d0 65 78 70 | ...stat...5]..!...LPS.if.....exp |
3320 | 31 93 d2 74 68 65 6e 93 d0 62 6c 6f 9b ff 70 b9 63 6b 93 cf 66 d0 65 6c 73 65 69 66 91 02 52 1f | 1..then..blo..p.ck..f.elseif..R. |
3340 | cf 67 93 cd 5b d2 65 6c 73 65 93 d0 62 6c 6f 98 63 6b 91 01 2d bb cd 5d 93 d2 65 6e 64 8e 8e a1 | .g..[.else..blo.ck..-..]..end... |
3360 | 8d 8d 91 11 4c 5b d0 65 6c 73 65 69 66 8e 8d 91 35 5d 1e cf 21 8e 8d 91 4c 50 53 d2 65 6c 73 65 | ....L[.elseif...5]..!...LPS.else |
3380 | 69 66 96 03 ea ea d0 65 78 70 31 93 d2 74 68 65 6e 93 d0 62 6c 6f 91 ff 70 b9 63 6b 8e 8e 8e 8e | if.....exp1..then..blo..p.ck.... |
33a0 | 8e 9f 1d 3b f2 a4 0d 99 9a 8d 91 0e 27 91 cd 41 91 04 3c 77 d3 72 65 74 75 72 6e 96 04 3c 9e cd | ...;........'..A..<w.return..<.. |
33c0 | 69 73 93 75 73 65 64 93 74 6f 93 72 65 74 75 72 6e 93 76 91 ff 64 44 61 6c 75 65 73 93 66 72 6f | is.used.to.return.v..dDalues.fro |
33e0 | 6d 93 61 93 66 75 6e 63 74 69 6f 6e 2e 91 06 a0 85 42 65 63 61 75 73 65 93 61 93 66 75 6e 63 74 | m.a.function.....Because.a.funct |
3400 | 69 6f 6e 93 6d 61 90 b2 21 79 93 72 65 74 75 72 6e 93 6d 6f 72 65 8e a1 8d 91 fd 27 91 74 68 61 | ion.ma..!y.return.more.....'.tha |
3420 | 6e 96 03 a6 66 6f 6e 65 93 76 91 ff 64 44 61 6c 75 65 2c 93 74 68 65 93 73 79 6e 9a b2 21 74 61 | n...fone.v..dDalue,.the.syn..!ta |
3440 | 78 93 66 6f 72 93 61 93 72 65 74 75 72 6e 93 73 74 61 74 65 6d 65 6e 98 74 93 69 73 3a 8e a4 11 | x.for.a.return.statemen.t.is:... |
3460 | 5f 26 8d 8d 8d 9e fb 83 8d 8d 91 11 4c 5b d0 72 91 ff 70 b9 65 74 8e 8d 91 2a 07 d3 cf 21 8e 8d | _&..........L[.r..p.et...*...!.. |
3480 | 91 40 fb 08 d2 72 65 74 75 72 6e 91 03 ea ea d0 65 78 70 6c 69 73 74 8e 8e 8e 8e 8e a1 a9 1c ec | .@...return.....explist......... |
34a0 | 1f 8d 8d 91 fd 27 91 d2 34 2e 34 2e 34 8e 91 23 a1 a2 45 78 70 72 65 73 73 69 6f 6e 73 96 04 32 | .....'..4.4.4..#..Expressions..2 |
34c0 | 8d 61 73 93 53 74 61 74 65 6d 65 6e 90 a6 74 74 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 41 6c 6c 96 | .as.Statemen..tts........'..All. |
34e0 | 02 e3 d8 65 78 70 72 65 73 73 69 6f 6e 73 93 77 69 74 68 93 70 9a 4d de 6f 73 73 69 62 6c 65 93 | ...expressions.with.p.M.ossible. |
3500 | 73 69 64 65 2d 65 0b 65 63 74 73 93 63 61 6e 93 62 98 65 93 65 78 65 63 75 74 65 64 93 61 73 93 | side-e.ects.can.b.e.executed.as. |
3520 | 73 74 61 74 65 6d 65 6e 90 b2 21 74 73 2e 91 04 9d 03 54 68 65 73 65 93 69 6e 63 6c 75 64 65 93 | statemen..!ts.....These.include. |
3540 | 66 75 6e 63 74 69 6f 6e 8e a4 0d 99 9a 8d 91 fd 27 91 63 61 6c 6c 73 96 03 a6 66 61 6e 64 93 74 | function........'.calls...fand.t |
3560 | 61 62 6c 65 93 63 6f 6e 73 74 72 75 63 74 6f 72 73 3a 8e 9f 15 1b f1 8d 8d 8d 9f f9 2e b7 8d 8d | able.constructors:.............. |
3580 | 91 11 4c 5b d0 73 74 61 74 8e 8d 91 2e a5 d7 cf 21 8e 8d 91 45 99 0c d0 66 75 6e 63 74 69 6f 6e | ..L[.stat.......!...E...function |
35a0 | 63 91 ff 70 b9 61 6c 91 00 8f 46 6c 8e 8e 9f 0d 99 99 8d 8d 91 11 4c 5b 73 74 61 74 8e 8d 91 2e | c..p.al...Fl..........L[stat.... |
35c0 | a5 d7 cf 21 8e 8d 91 45 99 0c d0 74 61 62 6c 65 96 ff 70 b9 63 93 6f 6e 73 74 72 75 63 74 6f 72 | ...!...E...table..p.c.onstructor |
35e0 | 8e 8e 8e 8e 8e 9f 17 3d 03 8d 90 51 f3 cd 45 76 95 b2 21 65 6e 93 74 75 61 6c 96 03 2a 62 72 65 | .......=...Q..Ev..!en.tual..*bre |
3600 | 74 75 72 6e 65 64 93 76 91 ff 64 44 61 6c 75 65 73 93 61 72 65 93 74 68 72 6f 9a b2 21 77 6e 93 | turned.v..dDalues.are.thro..!wn. |
3620 | 61 98 77 98 61 98 79 96 ff 16 65 2e 91 04 b4 87 46 93 75 6e 63 74 69 6f 6e 96 03 2a 62 63 61 6c | a.w.a.y...e.....F.unction..*bcal |
3640 | 6c 73 93 61 72 65 93 65 78 70 6c 61 69 6e 65 64 93 69 6e 93 53 65 63 74 69 6f 6e 93 34 2e 35 2e | ls.are.explained.in.Section.4.5. |
3660 | 38 2c 91 03 43 30 77 68 69 6c 65 8e a1 8d 91 fd 27 91 63 6f 6e 73 74 72 75 63 74 6f 72 73 96 03 | 8,..C0while.....'.constructors.. |
3680 | a6 66 61 72 65 93 74 68 65 93 73 75 62 91 00 9b bb 6a 65 63 74 93 6f 66 93 53 65 63 74 69 6f 6e | .fare.the.sub....ject.of.Section |
36a0 | 93 34 2e 35 2e 37 2e 8e a6 8d 8d 91 fd 27 91 d2 34 2e 34 2e 35 8e 91 23 a1 a2 4c 6f 90 59 8b 63 | .4.5.7.......'..4.4.5..#..Lo.Y.c |
36c0 | 61 6c 91 04 32 8d 44 65 63 6c 61 72 61 74 69 6f 6e 73 8e a9 14 ab ff 8d 91 fd 27 91 cd 4c 6f 9a | al..2.Declarations........'..Lo. |
36e0 | 4d de 63 61 6c 96 04 b2 f5 76 91 ff 64 44 61 72 69 61 62 6c 65 73 93 63 61 6e 93 62 98 65 93 64 | M.cal....v..dDariables.can.b.e.d |
3700 | 65 63 6c 61 72 65 64 93 61 6e 90 b2 21 79 77 68 65 72 65 93 69 6e 73 69 64 65 93 61 93 62 6c 6f | eclared.an..!ywhere.inside.a.blo |
3720 | 98 63 90 b2 21 6b 2e 91 08 03 8a 54 68 65 69 72 93 73 63 6f 70 98 65 93 62 98 65 67 69 6e 73 93 | .c..!k.....Their.scop.e.b.egins. |
3740 | 61 66 74 65 72 93 74 68 65 93 64 65 63 2d 8e a1 8d 91 fd 27 91 6c 61 72 61 74 69 6f 6e 96 05 07 | after.the.dec-.....'.laration... |
3760 | 4e 61 6e 64 93 6c 61 73 74 73 93 75 6e 9a b2 21 74 69 6c 93 74 68 65 93 62 6c 6f 90 4d de 63 98 | Nand.lasts.un..!til.the.blo.M.c. |
3780 | 6b 93 65 6e 64 2e 91 09 00 96 54 68 65 93 64 65 63 6c 61 72 61 74 69 6f 6e 93 6d 61 98 79 93 69 | k.end.....The.declaration.ma.y.i |
37a0 | 6e 63 6c 75 64 65 93 61 6e 93 69 6e 69 74 69 61 6c 93 61 73 73 69 67 6e 6d 65 6e 98 74 3a 8e a1 | nclude.an.initial.assignmen.t:.. |
37c0 | 9f 1b e8 be 8d 8d 8d 9f f2 61 ea 8d 8d 91 1d 54 bb d0 73 74 61 74 8e 8d 91 3a ae 37 cf 21 8e 8d | .........a.....T..stat...:.7.!.. |
37e0 | 91 51 a1 6c d2 6c 6f 90 59 8b 63 61 6c 96 03 ea ea d0 64 65 91 ff 70 b9 63 6c 69 73 74 93 cd 5b | .Q.l.lo.Y.cal.....de..p.clist..[ |
3800 | d0 69 6e 69 74 91 01 09 ea cd 5d 8e 8e a4 0d 99 99 8d 8d 91 11 4c 5b d0 64 65 91 ff 70 b9 63 6c | .init.....]..........L[.de..p.cl |
3820 | 69 73 74 8e 8d 91 3a ae 37 cf 21 8e 8d 91 51 a1 6c d0 6e 61 6d 65 96 03 ea ea cf 66 cd 27 2c 27 | ist...:.7.!...Q.l.name.....f.',' |
3840 | 93 d0 6e 61 6d 65 91 00 d2 a1 cf 67 8e 8e a1 8d 8d 91 1e 2b a5 d0 69 6e 69 74 8e 8d 91 3a ae 37 | ..name.....g.......+..init...:.7 |
3860 | cf 21 8e 8d 91 51 a1 6c cd 27 3d 27 91 03 ea ea d0 65 78 70 6c 69 73 74 31 8e 8e 8e 8e 8e 9f 1e | .!...Q.l.'='.....explist1....... |
3880 | 09 cf 8d 90 ef 99 cd 49 66 96 02 c8 08 74 68 65 72 65 93 69 73 93 61 6e 93 69 6e 69 74 69 61 6c | .......If....there.is.an.initial |
38a0 | 93 61 73 73 69 67 6e 6d 65 6e 9a b2 21 74 2c 91 02 f4 81 69 74 93 68 61 73 93 74 68 65 93 73 61 | .assignmen..!t,....it.has.the.sa |
38c0 | 6d 65 93 73 65 6d 61 6e 98 74 69 63 73 93 6f 66 93 61 93 6d 98 75 6c 74 69 70 6c 65 93 61 73 73 | me.seman.tics.of.a.m.ultiple.ass |
38e0 | 69 67 6e 6d 65 6e 98 74 2e 91 04 93 be 4f 74 68 65 72 77 69 73 65 2c 8e a1 8d 91 fd 27 91 61 6c | ignmen.t.....Otherwise,.....'.al |
3900 | 6c 96 03 a6 66 76 91 ff 64 44 61 72 69 61 62 6c 65 73 93 61 72 65 93 69 6e 69 74 69 61 6c 69 7a | l...fv..dDariables.are.initializ |
3920 | 65 64 93 77 69 74 68 93 d2 6e 69 6c cd 2e 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 34 2e 35 8e 91 1b | ed.with..nil.....R.....'..4.5... |
3940 | e7 91 45 78 70 72 65 73 73 69 6f 6e 73 8e a6 8d 8d 91 fd 27 91 d2 34 2e 35 2e 31 8e 91 23 a1 a2 | ..Expressions......'..4.5.1..#.. |
3960 | 53 69 6d 70 6c 65 91 04 32 8d 45 78 70 72 65 73 73 69 6f 6e 73 8e a6 8d 91 fd 27 91 cd 53 69 6d | Simple..2.Expressions.....'..Sim |
3980 | 70 6c 65 96 03 a6 66 65 78 70 72 65 73 73 69 6f 6e 73 93 61 72 65 3a 8e 9f 2b a3 68 8d 8d 8d 9f | ple...fexpressions.are:..+.h.... |
39a0 | e4 c8 51 8d 8d 91 11 4c 5b d0 65 78 70 8e 8d 91 2d 02 ec cf 21 8e 8d 91 43 f6 21 cd 27 28 27 96 | ..Q....L[.exp...-...!...C.!.'('. |
39c0 | 03 ea ea d0 65 78 70 93 cd 27 29 27 8e 8e a4 0d 99 99 8d 8d 91 11 4c 5b d0 65 78 70 8e 8d 91 2d | ....exp..')'..........L[.exp...- |
39e0 | 02 ec cf 21 8e 8d 91 43 f6 21 d2 6e 69 6c 8e 8e a1 8d 8d 91 11 4c 5b d0 65 78 70 8e 8d 91 2d 02 | ...!...C.!.nil.......L[.exp...-. |
3a00 | ec cf 21 8e 8d 91 43 f6 21 cd 27 6e 95 b2 21 75 6d 93 62 90 4d de 65 72 27 8e 8e a1 8d 8d 91 11 | ..!...C.!.'n..!um.b.M.er'....... |
3a20 | 4c 5b d0 65 78 70 8e 8d 91 2d 02 ec cf 21 8e 8d 91 43 f6 21 cd 27 6c 69 74 65 72 61 6c 27 8e 8e | L[.exp...-...!...C.!.'literal'.. |
3a40 | a1 8d 8d 91 11 4c 5b d0 65 78 70 8e 8d 91 2d 02 ec cf 21 8e 8d 91 43 f6 21 d0 76 61 72 8e 8e 8e | .....L[.exp...-...!...C.!.var... |
3a60 | 8e 8e 9f 2c 3f 24 8d 91 00 e3 29 cd 4e 75 6d 95 b2 21 62 90 4d de 65 72 73 9b 03 bb 98 28 6e 93 | ...,?$....).Num..!b.M.ers....(n. |
3a80 | 75 6d 65 72 69 63 61 6c 98 63 6f 6e 73 74 61 6e 93 74 73 29 98 61 6e 64 98 73 74 72 69 6e 67 98 | umerical.constan.ts).and.string. |
3aa0 | 6c 69 74 65 72 61 6c 73 98 61 72 65 98 65 78 70 6c 61 69 6e 65 64 98 69 6e 98 53 65 63 74 69 6f | literals.are.explained.in.Sectio |
3ac0 | 6e 98 34 2e 31 2e 91 05 1d 74 56 91 ff 16 65 61 72 69 61 62 6c 65 73 98 61 72 65 8e a1 8d 91 fd | n.4.1....tV...eariables.are..... |
3ae0 | 27 91 65 78 70 6c 61 69 6e 65 64 96 03 a6 66 69 6e 93 53 65 63 74 69 6f 6e 93 34 2e 34 2e 32 2e | '.explained...fin.Section.4.4.2. |
3b00 | 8e 9f 1c ec 1f 8d 8d 91 fd 27 91 d2 34 2e 35 2e 32 8e 91 23 a1 a2 41 72 69 74 68 6d 65 74 69 63 | .........'..4.5.2..#..Arithmetic |
3b20 | 91 04 32 8d 4f 70 90 59 8b 65 72 61 74 6f 72 73 8e a6 8d 91 fd 27 91 cd 4c 75 61 96 03 5b d8 73 | ..2.Op.Y.erators.....'..Lua..[.s |
3b40 | 75 70 70 9a 4d de 6f 72 74 73 93 74 68 65 93 75 73 75 61 6c 93 61 72 69 74 68 6d 65 74 69 63 93 | upp.M.orts.the.usual.arithmetic. |
3b60 | 6f 70 98 65 72 61 74 6f 72 73 2c 91 03 6a c1 77 69 74 68 93 74 68 65 93 75 73 75 61 6c 93 6d 65 | op.erators,..j.with.the.usual.me |
3b80 | 61 6e 69 6e 67 2e 91 04 c5 03 54 68 65 73 65 93 6f 70 98 65 72 61 74 6f 72 73 93 61 72 65 93 74 | aning.....These.op.erators.are.t |
3ba0 | 68 65 8e a1 8d 91 fd 27 91 62 69 6e 61 72 79 9b 03 d4 5b d3 2b cd 2c 96 03 df d8 d3 2d cd 2c 93 | he.....'.binary...[.+.,.....-.,. |
3bc0 | d3 2a 98 cd 61 6e 64 98 d3 2f cd 2c 93 61 6e 64 98 74 68 65 98 75 6e 61 72 79 98 d3 2b 98 cd 61 | .*..and../.,.and.the.unary..+..a |
3be0 | 6e 64 98 d3 2d cd 2e 91 05 67 bc 54 68 65 98 6f 70 95 4d de 65 72 61 6e 64 73 98 6d 90 b2 21 75 | nd..-....g.The.op.M.erands.m..!u |
3c00 | 73 74 98 62 93 65 98 6e 95 b2 21 75 6d 93 62 90 4d de 65 72 73 2c 91 03 df d8 6f 72 98 73 74 72 | st.b.e.n..!um.b.M.ers,....or.str |
3c20 | 69 6e 67 73 98 74 68 61 74 8e a1 8d 91 fd 27 91 63 61 6e 96 03 a6 66 62 9a 4d de 65 93 63 6f 6e | ings.that.....'.can...fb.M.e.con |
3c40 | 95 b2 21 76 93 65 72 74 65 64 96 03 a6 66 74 6f 93 6e 95 b2 21 75 6d 93 62 98 65 72 73 2c 96 03 | ..!v.erted...fto.n..!um.b.ers,.. |
3c60 | a6 66 61 63 63 6f 72 64 69 6e 67 93 74 6f 93 74 68 65 93 72 75 6c 65 73 93 67 69 76 90 b2 21 65 | .faccording.to.the.rules.giv..!e |
3c80 | 6e 93 69 6e 93 53 65 63 74 69 6f 6e 93 34 2e 32 2e 8e 8e 9f 1c 73 e7 8d 92 00 db 31 a1 35 8e 8e | n.in.Section.4.2.....s.....1.5.. |
3ca0 | 8c 8b 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3cc0 | 00 00 00 00 00 00 00 00 00 00 00 00 32 2d a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 | ............2-....c...2......|.. |
3ce0 | fd 75 e5 6b 8d 8d 91 fd 27 91 d2 34 2e 35 2e 33 8e 91 23 a1 a2 52 65 6c 61 74 69 6f 6e 61 6c 91 | .u.k....'..4.5.3..#..Relational. |
3d00 | 04 32 8d 4f 70 90 59 8b 65 72 61 74 6f 72 73 8e a9 14 ab ff 8d 91 fd 27 91 cd 4c 75 61 96 03 a6 | .2.Op.Y.erators........'..Lua... |
3d20 | 66 6f 0b 65 72 73 93 74 68 65 93 66 6f 6c 6c 6f 90 b2 21 77 69 6e 67 93 72 65 6c 61 74 69 6f 6e | fo.ers.the.follo..!wing.relation |
3d40 | 61 6c 93 6f 70 90 4d de 65 72 61 74 6f 72 73 3a 8e a4 16 99 9a 8d 91 25 65 37 d3 3c 96 11 3e fe | al.op.M.erators:.......%e7.<..>. |
3d60 | 3e 93 3c 3d 96 0b 7f 54 3e 3d 93 7e 3d 93 3d 8e a1 8d 91 fd 27 91 cd 41 6c 6c 96 03 a6 66 72 65 | >.<=...T>=.~=.=.....'..All...fre |
3d80 | 74 75 72 6e 93 d2 6e 69 6c 93 cd 61 73 93 66 61 6c 73 65 93 61 6e 64 93 31 93 61 73 93 74 72 75 | turn..nil..as.false.and.1.as.tru |
3da0 | 65 2e 8e a4 0d 99 9a 8d 91 0e 27 91 45 71 75 61 6c 69 74 9a b2 21 79 96 04 6f b1 0c 72 73 74 93 | e.........'.Equalit..!y..o..rst. |
3dc0 | 63 6f 6d 70 61 72 65 73 93 74 68 65 93 74 98 79 70 9a 4d de 65 73 93 6f 66 93 69 74 73 93 6f 70 | compares.the.t.yp.M.es.of.its.op |
3de0 | 98 65 72 61 6e 64 73 2e 91 07 39 bf 49 66 93 74 68 65 79 93 61 72 65 93 64 69 0b 65 72 65 6e 90 | .erands...9.If.they.are.di.eren. |
3e00 | b2 21 74 2c 91 04 a2 04 74 68 65 93 72 65 73 75 6c 74 93 69 73 93 d2 6e 69 6c cd 2e 8e a1 8d 91 | .!t,....the.result.is..nil...... |
3e20 | fd 27 91 4f 74 68 65 72 77 69 73 65 2c 91 04 8c 10 74 68 65 69 72 96 04 5e 21 76 91 ff 64 44 61 | .'.Otherwise,....their..^!v..dDa |
3e40 | 6c 75 65 73 93 61 72 65 93 63 6f 6d 70 61 72 65 64 2e 91 07 05 0e 4e 75 6d 9a b2 21 62 90 4d de | lues.are.compared.....Num..!b.M. |
3e60 | 65 72 73 93 61 6e 64 93 73 74 72 69 6e 67 73 93 61 72 65 93 63 6f 6d 70 61 72 65 64 93 69 6e 93 | ers.and.strings.are.compared.in. |
3e80 | 74 68 65 93 75 73 75 61 6c 93 77 98 61 98 79 91 ff 16 65 2e 8e a1 8d 91 fd 27 91 54 91 ff 16 65 | the.usual.w.a.y...e......'.T...e |
3ea0 | 61 62 6c 65 73 2c 96 03 4b 6d 43 66 75 6e 63 74 69 6f 6e 73 2c 93 61 6e 64 96 03 34 af 66 75 6e | ables,..KmCfunctions,.and..4.fun |
3ec0 | 63 74 69 6f 6e 73 93 61 72 65 93 63 6f 6d 70 61 72 65 64 93 62 90 b2 21 79 93 72 65 66 65 72 65 | ctions.are.compared.b..!y.refere |
3ee0 | 6e 63 65 2c 9b 03 4b 6d 74 68 61 74 93 69 73 2c 98 74 95 b2 21 77 93 6f 96 03 34 af 74 61 62 6c | nce,..Kmthat.is,.t..!w.o..4.tabl |
3f00 | 65 73 93 61 72 65 93 63 6f 6e 73 69 64 65 72 65 64 8e a1 8d 91 fd 27 91 65 71 75 61 6c 96 03 a6 | es.are.considered.....'.equal... |
3f20 | 66 6f 6e 6c 79 93 69 66 93 74 68 65 79 93 61 72 65 93 74 68 65 93 73 61 6d 65 93 74 61 62 6c 65 | fonly.if.they.are.the.same.table |
3f40 | 2e 91 04 dd dd 54 68 65 93 6f 70 90 4d de 65 72 61 74 6f 72 93 d3 7e 3d 93 cd 69 73 93 65 78 61 | .....The.op.M.erator..~=..is.exa |
3f60 | 63 74 6c 79 93 74 68 65 93 6e 65 67 61 74 69 6f 6e 93 6f 66 93 65 71 75 61 6c 69 74 90 b2 21 79 | ctly.the.negation.of.equalit..!y |
3f80 | 93 28 d3 3d cd 29 2e 8e a1 8d 91 0e 27 91 54 68 65 96 03 42 52 6f 74 68 65 72 93 6f 70 9a 4d de | .(.=.)......'.The..BRother.op.M. |
3fa0 | 65 72 61 74 6f 72 73 93 63 61 6e 93 6f 6e 6c 79 93 62 98 65 93 61 70 70 6c 69 65 64 93 74 6f 93 | erators.can.only.b.e.applied.to. |
3fc0 | 73 74 72 69 6e 67 73 93 61 6e 64 93 6e 95 b2 21 75 6d 93 62 98 65 72 73 2e 91 04 bc 81 49 66 96 | strings.and.n..!um.b.ers.....If. |
3fe0 | 03 42 52 6f 6e 65 93 6f 66 93 74 68 65 93 61 72 67 75 6d 65 6e 90 b2 21 74 73 93 69 73 8e a1 8d | .BRone.of.the.argumen..!ts.is... |
4000 | 91 fd 27 91 61 96 03 37 60 73 74 72 69 6e 67 2c 9b 03 4d 94 74 68 65 93 6f 74 68 65 72 93 69 73 | ..'.a..7`string,..M.the.other.is |
4020 | 93 63 6f 6e 95 b2 21 76 93 65 72 74 65 64 96 03 37 60 74 6f 93 61 93 73 74 72 69 6e 67 2c 98 61 | .con..!v.erted..7`to.a.string,.a |
4040 | 6e 64 93 74 68 65 69 72 93 76 91 ff 64 44 61 6c 75 65 73 93 61 72 65 93 63 6f 6d 70 61 72 65 64 | nd.their.v..dDalues.are.compared |
4060 | 93 75 73 69 6e 67 93 6c 65 78 69 63 6f 67 72 61 70 68 69 63 61 6c 8e a1 8d 91 fd 27 91 6f 72 64 | .using.lexicographical.....'.ord |
4080 | 65 72 2e 91 04 dd dd 4f 74 68 65 72 77 69 73 65 2c 96 03 a6 66 62 9a 4d de 6f 74 68 93 61 72 65 | er.....Otherwise,...fb.M.oth.are |
40a0 | 93 6e 95 b2 21 75 6d 93 62 98 65 72 73 96 03 a6 66 61 6e 64 93 61 72 65 93 63 6f 6d 70 61 72 65 | .n..!um.b.ers...fand.are.compare |
40c0 | 64 93 61 73 93 73 75 63 90 b2 21 68 2e 8e 9f 1c ec 1f 8d 8d 91 fd 27 91 d2 34 2e 35 2e 34 8e 91 | d.as.suc..!h..........'..4.5.4.. |
40e0 | 23 a1 a2 4c 6f 67 69 63 61 6c 91 04 32 8d 4f 70 90 59 8b 65 72 61 74 6f 72 73 8e a6 8d 91 fd 27 | #..Logical..2.Op.Y.erators.....' |
4100 | 91 cd 41 6c 6c 96 04 86 3e 6c 6f 67 69 63 61 6c 93 6f 70 90 4d de 65 72 61 74 6f 72 73 2c 91 04 | ..All...>logical.op.M.erators,.. |
4120 | be 34 6c 69 6b 9a b2 21 65 93 63 6f 6e 98 74 72 6f 6c 93 73 74 72 75 63 74 75 72 65 73 2c 91 04 | .4lik..!e.con.trol.structures,.. |
4140 | be 34 63 6f 6e 73 69 64 65 72 93 d2 6e 69 6c 93 cd 61 73 93 66 61 6c 73 65 93 61 6e 64 93 61 6e | .4consider..nil..as.false.and.an |
4160 | 98 79 74 68 69 6e 67 93 65 6c 73 65 93 61 73 93 74 72 75 65 2e 8e a1 8d 91 fd 27 91 4c 69 6b 90 | .ything.else.as.true......'.Lik. |
4180 | b2 21 65 96 03 a6 66 72 65 6c 61 74 69 6f 6e 61 6c 93 6f 70 9a 4d de 65 72 61 74 6f 72 73 2c 93 | .!e...frelational.op.M.erators,. |
41a0 | 74 68 65 79 93 72 65 74 75 72 6e 93 d2 6e 69 6c 93 cd 61 73 93 66 61 6c 73 65 93 61 6e 64 93 31 | they.return..nil..as.false.and.1 |
41c0 | 93 61 73 93 74 72 75 65 2e 91 04 dd dd 54 68 65 93 6c 6f 67 69 63 61 6c 93 6f 70 98 65 72 61 74 | .as.true.....The.logical.op.erat |
41e0 | 6f 72 73 93 61 72 65 3a 8e a4 16 99 9a 8d 91 47 e3 33 d3 61 6e 64 96 11 3e fe 6f 72 93 6e 6f 74 | ors.are:.......G.3.and..>.or.not |
4200 | 8e a1 8d 91 fd 27 91 cd 54 68 65 96 04 46 e1 6f 70 90 4d de 65 72 61 74 6f 72 73 93 d3 61 6e 64 | .....'..The..F.op.M.erators..and |
4220 | 93 cd 61 6e 64 93 d3 6f 72 93 cd 75 73 65 93 73 68 6f 72 74 2d 63 75 74 93 65 76 91 ff 64 44 61 | ..and..or..use.short-cut.ev..dDa |
4240 | 6c 75 61 74 69 6f 6e 2c 9b 04 6f 00 74 68 61 74 93 69 73 2c 98 74 68 65 93 73 65 63 6f 6e 64 93 | luation,..o.that.is,.the.second. |
4260 | 6f 70 90 4d de 65 72 61 6e 64 93 69 73 93 65 76 91 ff 64 44 61 6c 75 61 74 65 64 8e a4 0d 99 9a | op.M.erand.is.ev..dDaluated..... |
4280 | 8d 91 fd 27 91 6f 6e 6c 79 96 03 a6 66 69 66 93 6e 65 63 65 73 73 61 72 79 91 ff 16 65 2e 8e 9f | ...'.only...fif.necessary...e... |
42a0 | 1c ec 1f 8d 8d 91 fd 27 91 d2 34 2e 35 2e 35 8e 91 23 a1 a2 43 6f 6e 63 61 74 65 6e 61 74 69 6f | .......'..4.5.5..#..Concatenatio |
42c0 | 6e 8e a6 8d 91 fd 27 91 cd 4c 75 61 96 03 7b 9d 6f 0b 65 72 73 93 61 93 73 74 72 69 6e 67 93 63 | n.....'..Lua..{.o.ers.a.string.c |
42e0 | 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 93 6f 70 9a 4d de 65 72 61 74 6f 72 2c 91 03 84 2b 64 65 6e | oncatenation.op.M.erator,...+den |
4300 | 6f 74 65 64 93 62 90 b2 21 79 93 5c d3 2e 2e cd 22 2e 91 04 cf 9a 54 68 65 93 6f 70 98 65 72 61 | oted.b..!y.\....".....The.op.era |
4320 | 6e 64 73 93 6d 90 b2 21 75 73 74 93 62 98 65 93 73 74 72 69 6e 67 73 93 6f 72 8e a1 8d 91 fd 27 | nds.m..!ust.b.e.strings.or.....' |
4340 | 91 6e 95 b2 21 75 6d 93 62 90 4d de 65 72 73 2c 9b 03 a6 66 77 68 69 63 93 68 98 61 72 65 98 63 | .n..!um.b.M.ers,...fwhic.h.are.c |
4360 | 6f 6e 93 76 93 65 72 74 65 64 98 74 6f 98 73 74 72 69 6e 67 73 98 61 63 63 6f 72 64 69 6e 67 98 | on.v.erted.to.strings.according. |
4380 | 74 6f 98 74 68 65 98 72 75 6c 65 73 98 69 6e 98 53 65 63 74 69 6f 6e 98 34 2e 32 2e 8e 9f 1c ec | to.the.rules.in.Section.4.2..... |
43a0 | 1f 8d 8d 91 fd 27 91 d2 34 2e 35 2e 36 8e 91 23 a1 a2 50 72 65 63 65 64 65 6e 63 65 8e a6 8d 91 | .....'..4.5.6..#..Precedence.... |
43c0 | fd 27 91 cd 4f 70 9a 4d de 65 72 61 74 6f 72 96 03 a6 66 70 72 65 63 65 64 65 6e 63 65 93 66 6f | .'..Op.M.erator...fprecedence.fo |
43e0 | 6c 6c 6f 90 b2 21 77 73 93 74 68 65 93 74 61 62 6c 65 93 62 98 65 6c 6f 9a b2 21 77 2c 93 66 72 | llo..!ws.the.table.b.elo..!w,.fr |
4400 | 6f 6d 93 74 68 65 93 6c 6f 98 77 98 65 72 93 74 6f 93 74 68 65 93 68 69 67 68 65 72 93 70 72 69 | om.the.lo.w.er.to.the.higher.pri |
4420 | 6f 72 69 74 98 79 3a 8e a9 16 99 9a 8d 91 47 e3 33 d3 61 6e 64 91 11 3e fe 6f 72 8e a1 8d 91 47 | orit.y:.......G.3.and..>.or....G |
4440 | e3 33 3c 96 11 3e fe 3e 93 3c 3d 96 0b 7f 54 3e 3d 93 7e 3d 93 3d 8e a1 8d 91 47 e3 33 2e 2e 8e | .3<..>.>.<=...T>=.~=.=....G.3... |
4460 | a1 8d 91 47 e3 33 2b 91 11 3e fe 2d 8e a1 8d 91 47 e3 33 2a 91 11 3e fe 2f 8e a1 8d 91 47 e3 33 | ...G.3+..>.-....G.3*..>./....G.3 |
4480 | 6e 6f 74 96 0b 7f 54 2b 9b 05 bf aa 28 75 6e 61 72 79 29 93 2d 98 28 75 6e 61 72 79 29 8e a6 8d | not...T+....(unary).-.(unary)... |
44a0 | 91 fd 27 91 cd 41 6c 6c 96 03 a6 66 62 69 6e 61 72 79 93 6f 70 9a 4d de 65 72 61 74 6f 72 73 93 | ..'..All...fbinary.op.M.erators. |
44c0 | 61 72 65 93 6c 65 66 74 93 61 73 73 6f 98 63 69 61 74 69 76 90 b2 21 65 2e 8e 9f 1c ec 1f 8d 8d | are.left.asso.ciativ..!e........ |
44e0 | 91 fd 27 91 d2 34 2e 35 2e 37 8e 91 23 a1 a2 54 91 fe f3 5c 61 62 6c 65 91 04 32 8d 43 6f 6e 73 | ..'..4.5.7..#..T...\able..2.Cons |
4500 | 74 72 75 63 74 6f 72 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 54 9b ff 16 65 61 62 6c 65 96 02 e1 c9 | tructors........'..T...eable.... |
4520 | 63 6f 6e 73 74 72 75 63 74 6f 72 73 93 61 72 65 93 65 78 70 72 65 73 73 69 6f 6e 73 93 74 68 61 | constructors.are.expressions.tha |
4540 | 74 93 63 72 65 61 74 65 93 74 61 62 6c 65 73 2e 91 04 9c 53 54 98 61 62 6c 65 93 63 6f 6e 73 74 | t.create.tables....ST.able.const |
4560 | 72 75 63 74 6f 72 73 93 61 72 65 93 6f 0b 65 72 65 64 93 69 6e 93 64 69 0b 65 72 65 6e 90 b2 21 | ructors.are.o.ered.in.di.eren..! |
4580 | 74 8e a1 8d 91 fd 27 91 0d 61 95 b2 21 76 93 6f 72 73 2e 91 04 dd dd 54 68 65 96 03 a6 66 73 69 | t.....'..a..!v.ors.....The...fsi |
45a0 | 6d 70 6c 65 73 74 93 6f 6e 65 93 69 73 3a 8e a4 11 5f 26 8d 8d 8d 9e fb 83 8d 8d 91 11 4c 5b d0 | mplest.one.is:..._&..........L[. |
45c0 | 74 61 62 6c 65 96 ff 70 b9 63 93 6f 6e 73 74 72 75 63 74 6f 72 8e 8d 91 68 92 a7 cf 21 8e 8d 91 | table..p.c.onstructor...h...!... |
45e0 | 7f 85 dc cd 27 40 27 96 03 ea ea 27 28 27 93 5b d0 65 78 70 31 91 01 7b fd cd 5d 93 27 29 27 8e | ....'@'....'('.[.exp1..{..].')'. |
4600 | 8e 8e 8e 8e a1 8d 91 01 43 1b 53 75 63 9a b2 21 68 96 04 1b 8a 61 6e 93 65 78 70 72 65 73 73 69 | ........C.Suc..!h....an.expressi |
4620 | 6f 6e 93 72 65 73 75 6c 74 73 93 69 6e 93 61 93 6e 65 77 93 65 6d 70 74 98 79 93 74 61 62 6c 65 | on.results.in.a.new.empt.y.table |
4640 | 2e 91 06 3d 49 41 6e 93 6f 70 74 69 6f 6e 61 6c 93 64 69 6d 65 6e 73 69 6f 6e 93 6d 61 98 79 93 | ...=IAn.optional.dimension.ma.y. |
4660 | 62 90 4d de 65 93 67 69 76 98 65 6e 93 61 73 93 61 8e a4 0d 99 9a 8d 91 fd 27 91 68 69 6e 9a b2 | b.M.e.giv.en.as.a........'.hin.. |
4680 | 21 74 96 03 f4 de 74 6f 93 74 68 65 93 69 6e 69 74 69 61 6c 93 74 61 62 6c 65 93 73 69 7a 65 2e | !t....to.the.initial.table.size. |
46a0 | 91 05 c9 44 49 6e 64 65 70 90 4d de 65 6e 64 65 6e 98 74 6c 79 93 6f 66 93 74 68 65 93 69 6e 69 | ...DIndep.M.enden.tly.of.the.ini |
46c0 | 74 69 61 6c 93 64 69 6d 65 6e 73 69 6f 6e 2c 91 04 08 7b 61 6c 6c 93 61 72 72 61 98 79 73 93 69 | tial.dimension,...{all.arra.ys.i |
46e0 | 6e 93 4c 75 61 93 73 74 72 65 74 63 98 68 8e a1 8d 91 fd 27 91 64 79 6e 61 6d 69 63 61 6c 6c 79 | n.Lua.stretc.h.....'.dynamically |
4700 | 96 03 a6 66 61 73 93 6e 65 65 64 65 64 2e 8e a1 8d 91 0e 27 91 54 91 ff 16 65 6f 96 03 a6 66 63 | ...fas.needed......'.T...eo...fc |
4720 | 6f 6e 73 74 72 75 63 74 93 61 93 74 61 62 6c 65 93 61 6e 64 93 69 6e 69 74 69 61 6c 69 7a 65 93 | onstruct.a.table.and.initialize. |
4740 | 73 6f 6d 65 93 0c 65 6c 64 73 2c 93 74 68 65 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 73 79 6e | some..elds,.the.follo..!wing.syn |
4760 | 98 74 61 78 93 69 73 93 61 98 76 91 ff 64 44 61 69 6c 61 62 6c 65 3a 8e 8e 9f 1c 73 e7 8d 92 00 | .tax.is.a.v..dDailable:....s.... |
4780 | db 31 a1 36 8e 8e 8c 8b 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .1.6............................ |
47a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3c a1 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 | ..................<.....c...2... |
47c0 | 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 8d 8d 9e fb 83 8d 8d 91 11 4c 5b d0 74 61 62 6c 65 96 ff 70 b9 | ...|...u.k..........L[.table..p. |
47e0 | 63 93 6f 6e 73 74 72 75 63 74 6f 72 8e 8d 91 68 92 a7 cf 21 8e 8d 91 7f 85 dc cd 27 40 27 96 03 | c.onstructor...h...!.......'@'.. |
4800 | ea ea 5b d0 6e 61 6d 65 91 00 d2 a1 cd 5d 93 d0 0c 65 6c 64 91 00 8f 46 6c 69 73 74 8e 8e 8e 8e | ..[.name.....]...eld...Flist.... |
4820 | 8e 9f 11 5f 26 8d 91 01 e4 6e cd 53 75 63 9a b2 21 68 96 04 bc dd 61 6e 93 65 78 70 72 65 73 73 | ..._&....n.Suc..!h....an.express |
4840 | 69 6f 6e 93 63 72 65 61 74 65 73 93 61 93 6e 65 77 93 74 61 62 6c 65 2c 91 05 02 7b 77 68 69 63 | ion.creates.a.new.table,...{whic |
4860 | 98 68 93 77 69 6c 6c 93 62 90 4d de 65 93 69 74 73 93 0c 6e 61 6c 93 76 91 ff 64 44 61 6c 75 65 | .h.will.b.M.e.its..nal.v..dDalue |
4880 | 2c 91 05 02 7b 69 6e 69 74 69 61 6c 69 7a 65 93 73 6f 6d 65 93 6f 66 93 69 74 73 8e a4 0d 99 9a | ,...{initialize.some.of.its..... |
48a0 | 8d 91 fd 27 91 0c 65 6c 64 73 96 04 cc 00 61 63 63 6f 72 64 69 6e 67 93 74 6f 93 d3 66 69 65 6c | ...'..elds....according.to..fiel |
48c0 | 64 6c 69 73 74 93 cd 28 73 65 65 93 62 90 4d de 65 6c 6f 9a b2 21 77 29 2c 96 05 15 66 61 6e 64 | dlist..(see.b.M.elo..!w),...fand |
48e0 | 2c 93 69 66 96 04 cc 00 d3 6e 61 6d 65 93 cd 69 73 93 67 69 76 98 65 6e 2c 91 05 15 66 63 61 6c | ,.if.....name..is.giv.en,...fcal |
4900 | 6c 73 93 61 93 66 75 6e 63 74 69 6f 6e 93 77 69 74 68 93 74 68 61 74 8e a1 8d 91 fd 27 91 6e 61 | ls.a.function.with.that.....'.na |
4920 | 6d 65 96 03 37 b0 70 61 73 73 69 6e 67 93 74 68 65 93 74 61 62 6c 65 93 61 73 93 70 61 72 61 6d | me..7.passing.the.table.as.param |
4940 | 65 74 65 72 2e 91 04 b8 f6 54 68 69 73 93 66 75 6e 63 74 69 6f 6e 93 63 61 6e 93 62 90 4d de 65 | eter.....This.function.can.b.M.e |
4960 | 93 75 73 65 64 93 74 6f 93 63 95 b2 21 68 65 63 93 6b 96 03 37 b0 0c 65 6c 64 93 76 91 ff 64 44 | .used.to.c..!hec.k..7..eld.v..dD |
4980 | 61 6c 75 65 73 2c 91 03 4d d4 74 6f 93 63 72 65 61 74 65 8e a1 8d 91 fd 27 91 64 65 66 61 75 6c | alues,..M.to.create.....'.defaul |
49a0 | 74 96 03 a6 66 0c 65 6c 64 73 2c 93 6f 72 93 66 6f 72 93 61 6e 90 b2 21 79 93 6f 74 68 65 72 93 | t...f.elds,.or.for.an..!y.other. |
49c0 | 73 69 64 65 2d 65 0b 65 63 74 2e 8e a4 1e 09 cf 8d 8d 8d 9f f2 61 ea 8d 8d 91 1a 64 8e d0 0c 65 | side-e.ect...........a.....d...e |
49e0 | 6c 64 91 00 8f 46 6c 69 73 74 8e 8d 91 48 cf e2 cf 21 8e 8d 91 5f c3 17 cd 27 cf 66 cd 27 96 03 | ld...Flist...H...!..._...'.f.'.. |
4a00 | ea ea 5b d0 0e 65 6c 64 91 00 8f 46 6c 69 73 74 31 91 01 7b fd cd 5d 93 27 cf 67 cd 27 8e 8e a4 | ..[..eld...Flist1..{..].'.g.'... |
4a20 | 0d 99 99 8d 8d 91 11 4c 5b d0 0e 65 6c 64 91 00 8f 46 6c 69 73 74 31 8e 8d 91 48 cf e2 cf 21 8e | .......L[..eld...Flist1...H...!. |
4a40 | 8d 91 5f c3 17 d0 0e 65 6c 64 96 03 ea ea cf 66 cd 27 2c 27 93 d0 0e 65 6c 64 91 01 21 aa cf 67 | .._....eld.....f.','...eld..!..g |
4a60 | 8e 8e a1 8d 8d 91 25 b9 d8 d0 0e 65 6c 64 8e 8d 91 48 cf e2 cf 21 8e 8d 91 5f c3 17 d0 6e 61 6d | ......%....eld...H...!..._...nam |
4a80 | 65 96 03 ea ea cd 27 3d 27 93 d0 65 78 70 8e 8e 8e 8e 8e a1 8d 91 00 cd f7 cd 54 68 69 73 96 03 | e.....'='..exp............This.. |
4aa0 | a6 66 0c 65 6c 64 93 6c 69 73 74 93 69 6e 69 74 69 61 6c 69 7a 65 73 93 6e 61 6d 65 64 93 0c 65 | .f.eld.list.initializes.named..e |
4ac0 | 6c 64 73 93 69 6e 93 61 93 74 61 62 6c 65 2e 91 04 dd dd 41 73 93 61 6e 93 65 78 61 6d 70 6c 65 | lds.in.a.table.....As.an.example |
4ae0 | 3a 8e a4 13 15 b0 8d 91 0e 66 8f d3 61 96 05 bf aa 3d 93 40 66 7b 78 93 3d 93 31 2c 93 79 93 3d | :........f..a....=.@f{x.=.1,.y.= |
4b00 | 93 33 7d 8e a1 8d 91 fd 27 91 cd 69 73 96 03 a6 66 65 71 75 69 76 91 ff 64 44 61 6c 65 6e 90 b2 | .3}.....'..is...fequiv..dDalen.. |
4b20 | 21 74 93 74 6f 3a 8e a1 8d 91 0e 66 8f d3 74 65 6d 70 96 05 bf aa 3d 93 40 28 32 29 8e a4 0d 99 | !t.to:.....f..temp....=.@(2).... |
4b40 | 9a 8d 91 0e 66 8f 74 65 6d 70 2e 78 96 05 bf aa 3d 93 31 8e a1 8d 91 0e 66 8f 74 65 6d 70 2e 79 | ....f.temp.x....=.1.....f.temp.y |
4b60 | 96 05 bf aa 3d 93 33 8e a1 8d 91 0e 66 8f 66 28 74 65 6d 70 29 8e a1 8d 91 0e 66 8f 61 96 05 bf | ....=.3.....f.f(temp).....f.a... |
4b80 | aa 3d 93 74 65 6d 70 8e a4 13 15 b0 8d 91 0e 27 91 cd 49 6e 96 03 a6 66 6f 72 64 65 72 93 74 6f | .=.temp........'..In...forder.to |
4ba0 | 93 69 6e 69 74 69 61 6c 69 7a 65 93 61 93 6c 69 73 74 2c 93 6f 6e 65 93 63 61 6e 93 75 73 65 93 | .initialize.a.list,.one.can.use. |
4bc0 | 74 68 65 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 73 79 6e 98 74 61 78 3a 8e a9 17 3d 02 8d 8d | the.follo..!wing.syn.tax:...=... |
4be0 | 8d 9f f9 2e b7 8d 8d 91 19 b1 76 d0 0c 65 6c 64 91 00 8f 46 6c 69 73 74 8e 8d 91 48 1c ca cf 21 | ..........v..eld...Flist...H...! |
4c00 | 8e 8d 91 5f 0f ff cd 27 5b 27 96 03 ea ea 5b d0 6c 0c 65 6c 64 91 00 8f 46 6c 69 73 74 31 91 01 | ..._...'['....[.l.eld...Flist1.. |
4c20 | 7b fd cd 5d 93 27 5d 27 8e 8e 9f 0d 99 99 8d 8d 91 11 4c 5b d0 6c 0c 65 6c 64 91 00 8f 46 6c 69 | {..].']'..........L[.l.eld...Fli |
4c40 | 73 74 31 8e 8d 91 48 1c ca cf 21 8e 8d 91 5f 0f ff d0 65 78 70 96 03 ea ea cf 66 cd 27 2c 27 93 | st1...H...!..._...exp.....f.','. |
4c60 | d0 65 78 70 91 00 b0 f2 cf 67 8e 8e 8e 8e 8e 9f 17 3d 03 8d 91 00 cd f7 cd 41 73 96 03 a6 66 61 | .exp.....g.......=.......As...fa |
4c80 | 6e 93 65 78 61 6d 70 6c 65 3a 8e a1 8d 91 0e 66 8f d3 61 96 05 bf aa 3d 93 40 5b 22 76 31 22 2c | n.example:.....f..a....=.@["v1", |
4ca0 | 93 22 76 76 22 5d 8e a1 8d 91 fd 27 91 cd 69 73 96 03 a6 66 65 71 75 69 76 91 ff 64 44 61 6c 65 | ."vv"].....'..is...fequiv..dDale |
4cc0 | 6e 90 b2 21 74 93 74 6f 3a 8e a1 8d 91 0e 66 8f d3 74 65 6d 70 96 05 bf aa 3d 93 40 28 32 29 8e | n..!t.to:.....f..temp....=.@(2). |
4ce0 | a4 0d 99 9a 8d 91 0e 66 8f 74 65 6d 70 5b 31 5d 96 05 bf aa 3d 93 22 76 31 22 8e a1 8d 91 0e 66 | .......f.temp[1]....=."v1".....f |
4d00 | 8f 74 65 6d 70 5b 32 5d 96 05 bf aa 3d 93 22 76 32 22 8e a1 8d 91 0e 66 8f 61 96 05 bf aa 3d 93 | .temp[2]....=."v2".....f.a....=. |
4d20 | 74 65 6d 70 8e a4 13 15 b0 8d 91 0e 27 91 cd 41 73 96 03 a6 66 70 61 72 74 69 63 75 6c 61 72 93 | temp........'..As...fparticular. |
4d40 | 63 61 73 65 73 2c 93 74 68 65 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 74 98 77 98 6f 93 65 78 | cases,.the.follo..!wing.t.w.o.ex |
4d60 | 70 72 65 73 73 69 6f 6e 73 93 61 72 65 93 63 6f 6d 70 6c 65 74 65 6c 79 93 65 71 75 69 76 91 ff | pressions.are.completely.equiv.. |
4d80 | 64 44 61 6c 65 6e 98 74 3a 8e a1 8d 91 14 26 39 d3 40 66 7b 96 05 bf aa 7d 91 33 bc fa 40 66 5b | dDalen.t:.....&9.@f{....}.3..@f[ |
4da0 | 93 5d 8e 9f 1c 42 6b 8d 8d 91 fd 27 91 d2 34 2e 35 2e 38 8e 91 23 a1 a2 46 91 fe f3 5c 75 6e 63 | .]...Bk....'..4.5.8..#..F...\unc |
4dc0 | 74 69 6f 6e 91 04 32 8d 43 61 6c 6c 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 41 96 03 a6 66 66 75 6e | tion..2.Calls........'..A...ffun |
4de0 | 63 74 69 6f 6e 93 63 61 6c 6c 93 68 61 73 93 74 68 65 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 | ction.call.has.the.follo..!wing. |
4e00 | 73 79 6e 98 74 61 78 3a 8e a6 8d 8d 8d 9f f9 2e b7 8d 8d 91 11 4c 5b d0 66 75 6e 63 74 69 6f 6e | syn.tax:.............L[.function |
4e20 | 63 91 ff 70 b9 61 6c 91 00 8f 46 6c 8e 8d 91 54 b4 71 cf 21 8e 8d 91 6b a7 a6 d0 76 61 72 96 03 | c..p.al...Fl...T.q.!...k...var.. |
4e40 | ea ea cd 27 28 27 93 5b d0 65 78 70 6c 69 73 74 31 91 01 7b fd cd 5d 93 27 29 27 8e 8e 9f 0d 99 | ...'('.[.explist1..{..].')'..... |
4e60 | 99 8d 8d 91 25 1f a9 d0 65 78 70 6c 69 73 74 31 8e 8d 91 54 b4 71 cf 21 8e 8d 91 6b a7 a6 66 d0 | ....%...explist1...T.q.!...k..f. |
4e80 | 65 78 70 31 96 03 ea ea cd 27 2c 27 cf 67 93 d0 65 78 70 8e 8e 8e 8e 8e 9f 17 d8 bf 8d 91 01 3c | exp1.....','.g..exp............< |
4ea0 | 00 cd 48 65 72 65 2c 9b 04 2f f1 d3 76 61 72 96 04 14 6f cd 63 61 6e 93 62 90 4d de 65 93 61 6e | ..Here,../..var...o.can.b.M.e.an |
4ec0 | 90 b2 21 79 93 76 91 ff 64 44 61 72 69 61 62 6c 65 93 28 67 6c 6f 62 61 6c 2c 98 6c 6f 90 4d de | ..!y.v..dDariable.(global,.lo.M. |
4ee0 | 63 61 6c 2c 98 69 6e 64 65 78 65 64 2c 98 65 74 63 29 93 77 68 6f 73 65 93 76 91 ff 64 44 61 6c | cal,.indexed,.etc).whose.v..dDal |
4f00 | 75 65 93 68 61 73 93 74 90 b2 21 79 70 90 4d de 65 93 d0 66 75 6e 63 74 69 6f 6e 91 04 eb 7a cd | ue.has.t..!yp.M.e..function...z. |
4f20 | 6f 72 8e a4 0d 99 9a 8d 91 fd 27 91 d0 43 66 75 6e 63 74 69 6f 6e 91 00 d7 0b cd 2e 91 04 da bf | or........'..Cfunction.......... |
4f40 | 41 6c 6c 96 03 9d 0c 61 72 67 75 6d 65 6e 9a b2 21 74 93 65 78 70 72 65 73 73 69 6f 6e 73 93 61 | All....argumen..!t.expressions.a |
4f60 | 72 65 93 65 76 91 ff 64 44 61 6c 75 61 74 65 64 93 62 90 4d de 65 66 6f 72 65 93 74 68 65 93 63 | re.ev..dDaluated.b.M.efore.the.c |
4f80 | 61 6c 6c 2c 91 03 9e eb 66 72 6f 6d 93 6c 65 66 74 93 74 6f 93 72 69 67 68 98 74 3b 91 03 a0 2a | all,....from.left.to.righ.t;...* |
4fa0 | 74 68 65 6e 93 74 68 65 8e a1 8d 91 fd 27 91 6c 69 73 74 96 04 51 a0 6f 66 93 61 72 67 75 6d 65 | then.the.....'.list..Q.of.argume |
4fc0 | 6e 90 b2 21 74 73 93 69 73 93 61 64 6a 75 73 74 65 64 93 74 6f 93 74 68 65 93 6c 65 6e 67 74 68 | n..!ts.is.adjusted.to.the.length |
4fe0 | 93 6f 66 93 74 68 65 93 6c 69 73 74 93 6f 66 93 70 61 72 61 6d 65 74 65 72 73 93 28 73 65 65 93 | .of.the.list.of.parameters.(see. |
5000 | 53 65 63 74 69 6f 6e 93 34 2e 33 29 3b 91 04 a7 3d 0c 6e 61 6c 6c 79 8e a1 8d 91 fd 27 91 74 68 | Section.4.3);...=.nally.....'.th |
5020 | 69 73 96 03 a6 66 6c 69 73 74 93 69 73 93 61 73 73 69 67 6e 65 64 93 74 6f 93 74 68 65 93 70 61 | is...flist.is.assigned.to.the.pa |
5040 | 72 61 6d 65 74 65 72 73 2e 8e a1 8d 91 0e 27 91 42 65 63 61 75 73 65 96 04 c4 25 61 93 66 75 6e | rameters......'.Because...%a.fun |
5060 | 63 74 69 6f 6e 93 63 61 6e 93 72 65 74 75 72 6e 93 61 6e 9a b2 21 79 93 6e 98 75 6d 98 62 90 4d | ction.can.return.an..!y.n.um.b.M |
5080 | de 65 72 93 6f 66 93 72 65 73 75 6c 74 73 93 28 73 65 65 93 53 65 63 74 69 6f 6e 93 34 2e 34 2e | .er.of.results.(see.Section.4.4. |
50a0 | 33 29 2c 91 05 0b 94 74 68 65 93 6e 98 75 6d 98 62 90 4d de 65 72 93 6f 66 8e a1 8d 91 fd 27 91 | 3),....the.n.um.b.M.er.of.....'. |
50c0 | 72 65 73 75 6c 74 73 96 02 7a b2 6d 90 b2 21 75 73 74 93 62 9a 4d de 65 93 61 64 6a 75 73 74 65 | results..z.m..!ust.b.M.e.adjuste |
50e0 | 64 93 62 98 65 66 6f 72 65 93 75 73 65 64 2e 91 04 79 f7 49 66 93 74 68 65 93 66 75 6e 63 74 69 | d.b.efore.used...y.If.the.functi |
5100 | 6f 6e 93 69 73 93 63 61 6c 6c 65 64 93 61 73 93 61 6e 93 73 74 61 74 65 6d 65 6e 90 b2 21 74 93 | on.is.called.as.an.statemen..!t. |
5120 | 28 73 65 65 93 53 65 63 74 69 6f 6e 93 34 2e 34 2e 34 29 2c 8e a1 8d 91 fd 27 91 69 74 73 96 04 | (see.Section.4.4.4),.....'.its.. |
5140 | 82 96 72 65 74 75 72 6e 93 6c 69 73 74 93 69 73 93 61 64 6a 75 73 74 65 64 93 74 6f 93 30 2e 91 | ..return.list.is.adjusted.to.0.. |
5160 | 07 72 6e 49 66 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 93 69 73 93 63 61 6c 6c 65 64 93 69 6e 93 | .rnIf.the.function.is.called.in. |
5180 | 61 93 70 6c 61 63 65 93 74 68 61 74 93 6e 65 65 64 73 93 61 93 73 69 6e 67 6c 65 93 76 91 ff 64 | a.place.that.needs.a.single.v..d |
51a0 | 44 61 6c 75 65 8e a1 8d 91 fd 27 91 28 73 79 6e 9a b2 21 74 61 63 74 69 63 61 6c 6c 79 96 02 e0 | Dalue.....'.(syn..!tactically... |
51c0 | 85 64 65 6e 6f 74 65 64 93 62 98 79 93 74 68 65 93 6e 6f 6e 2d 74 65 72 6d 69 6e 61 6c 93 d3 65 | .denoted.b.y.the.non-terminal..e |
51e0 | 78 70 31 cd 29 2c 91 03 08 18 69 74 73 93 72 65 74 75 72 6e 93 6c 69 73 74 93 69 73 93 61 64 6a | xp1.),....its.return.list.is.adj |
5200 | 75 73 74 65 64 93 74 6f 93 31 2e 91 04 9b e8 49 66 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 8e a1 | usted.to.1.....If.the.function.. |
5220 | 8d 91 fd 27 91 69 73 96 03 41 9b 63 61 6c 6c 65 64 93 69 6e 93 61 93 70 6c 61 63 65 93 74 68 61 | ...'.is..A.called.in.a.place.tha |
5240 | 74 93 63 61 6e 93 68 6f 6c 64 93 6d 61 6e 9a b2 21 79 93 76 91 ff 64 44 61 6c 75 65 73 93 28 73 | t.can.hold.man..!y.v..dDalues.(s |
5260 | 79 6e 98 74 61 63 74 69 63 61 6c 6c 79 93 64 65 6e 6f 74 65 64 93 62 98 79 93 74 68 65 93 6e 6f | yn.tactically.denoted.b.y.the.no |
5280 | 6e 2d 74 65 72 6d 69 6e 61 6c 93 d3 65 78 70 cd 29 2c 8e a1 8d 91 fd 27 91 6e 6f 96 03 a6 66 61 | n-terminal..exp.),.....'.no...fa |
52a0 | 64 6a 75 73 74 6d 65 6e 90 b2 21 74 93 69 73 93 64 6f 6e 65 2e 8e 8e 9f 1c 73 e7 8d 92 00 db 31 | djustmen..!t.is.done.....s.....1 |
52c0 | a1 37 8e 8e 8c 8b 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .7.............................. |
52e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 87 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 | ................G.....c...2..... |
5300 | 8e 7c 8d a0 fd 75 e5 6b 8d 8d 91 fd 27 91 db 34 2e 36 8e 91 1b e7 91 46 91 fe e0 00 75 6e 63 74 | .|...u.k....'..4.6.....F....unct |
5320 | 69 6f 6e 91 04 80 00 44 65 0c 6e 69 74 69 6f 6e 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 46 91 ff 16 | ion....De.nitions........'..F... |
5340 | 65 75 6e 63 74 69 6f 6e 73 96 03 72 21 69 6e 93 4c 75 61 93 63 61 6e 93 62 90 4d de 65 93 64 65 | eunctions..r!in.Lua.can.b.M.e.de |
5360 | 0c 6e 65 64 93 61 6e 9a b2 21 79 77 68 65 72 65 93 69 6e 93 74 68 65 93 67 6c 6f 62 61 6c 93 6c | .ned.an..!ywhere.in.the.global.l |
5380 | 65 76 98 65 6c 93 6f 66 93 61 93 6d 6f 9a 4d de 64 75 6c 65 3b 91 03 83 8d 66 75 6e 63 74 69 6f | ev.el.of.a.mo.M.dule;....functio |
53a0 | 6e 73 93 63 61 6e 6e 6f 74 93 62 98 65 8e a9 0d 99 9a 8d 91 fd 27 91 64 65 0c 6e 65 64 96 03 a6 | ns.cannot.b.e........'.de.ned... |
53c0 | 66 69 6e 73 69 64 65 93 6f 74 68 65 72 93 66 75 6e 63 74 69 6f 6e 73 2e 91 04 dd dd 54 68 65 93 | finside.other.functions.....The. |
53e0 | 73 79 6e 90 b2 21 74 61 78 93 66 6f 72 93 66 75 6e 63 74 69 6f 6e 93 64 65 0c 6e 69 74 69 6f 6e | syn..!tax.for.function.de.nition |
5400 | 93 69 73 3a 8e a4 11 5f 26 8d 8d 8d 9e fb 83 8d 8d 91 11 4c 5b d0 66 75 6e 63 74 69 6f 6e 8e 8d | .is:..._&..........L[.function.. |
5420 | 91 44 79 83 cf 21 8e 8d 91 5b 6c b8 d2 66 75 6e 63 74 69 6f 6e 96 03 ea ea d0 6e 61 6d 65 93 cd | .Dy..!...[l..function.....name.. |
5440 | 27 28 27 93 5b d0 70 9b ff 70 b9 61 72 6c 69 73 74 31 91 01 7b fd cd 5d 93 27 29 27 93 d0 62 6c | '('.[.p..p.arlist1..{..].')'..bl |
5460 | 6f 98 63 6b 93 d2 65 6e 64 8e 8e 8e 8e 8e a1 a6 8d 91 0e 27 91 cd 57 68 65 6e 96 03 1c ae 4c 75 | o.ck..end..........'..When....Lu |
5480 | 61 93 0c 6e 64 73 93 61 93 66 75 6e 63 74 69 6f 6e 93 64 65 0c 6e 69 74 69 6f 6e 2c 91 03 38 39 | a..nds.a.function.de.nition,..89 |
54a0 | 69 74 73 93 62 95 4d de 6f 93 64 79 96 03 1c ae 69 73 93 63 6f 6d 70 69 6c 65 64 93 74 6f 93 69 | its.b.M.o.dy....is.compiled.to.i |
54c0 | 6e 90 b2 21 74 65 72 6d 65 64 69 61 74 65 93 63 6f 90 4d de 64 65 93 61 6e 64 93 73 74 6f 72 65 | n..!termediate.co.M.de.and.store |
54e0 | 64 2c 8e a6 8d 91 fd 27 91 77 69 74 68 96 03 a6 66 74 9a b2 21 79 70 90 4d de 65 93 d0 66 75 6e | d,.....'.with...ft..!yp.M.e..fun |
5500 | 63 74 69 6f 6e cd 2c 93 69 6e 98 74 6f 93 74 68 65 93 67 6c 6f 62 61 6c 93 76 91 ff 64 44 61 72 | ction.,.in.to.the.global.v..dDar |
5520 | 69 61 62 6c 65 93 d3 6e 61 6d 65 cd 2e 8e a6 8d 91 0e 27 91 50 9a b2 21 61 72 61 6d 65 74 65 72 | iable..name.......'.P..!arameter |
5540 | 73 96 03 a6 66 61 63 74 93 61 73 93 6c 6f 90 4d de 63 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c | s...fact.as.lo.M.cal.v..dDariabl |
5560 | 65 73 2c 93 69 6e 69 74 69 61 6c 69 7a 65 64 93 77 69 74 68 93 74 68 65 93 61 72 67 75 6d 65 6e | es,.initialized.with.the.argumen |
5580 | 98 74 93 76 91 ff 64 44 61 6c 75 65 73 2e 8e a1 8d 8d 8d 9e fb 83 8d 8d 91 11 4c 5b d0 70 91 ff | .t.v..dDalues.............L[.p.. |
55a0 | 70 b9 61 72 6c 69 73 74 31 8e 8d 91 40 6a c7 cf 21 8e 8d 91 57 5d fc d0 27 6e 61 6d 65 27 96 03 | p.arlist1...@j..!...W]..'name'.. |
55c0 | ea ea cf 66 cd 27 2c 27 93 d0 6e 61 6d 65 91 00 d2 a1 cf 67 8e 8e 8e 8e 8e a1 a6 8d 91 0e 27 91 | ...f.','..name.....g..........'. |
55e0 | cd 52 65 73 75 6c 74 73 96 03 89 f3 61 72 65 93 72 65 74 75 72 6e 65 64 93 75 73 69 6e 67 93 74 | .Results....are.returned.using.t |
5600 | 68 65 93 d3 72 65 74 75 72 6e 93 cd 73 74 61 74 65 6d 65 6e 9a b2 21 74 93 28 73 65 65 93 53 65 | he..return..statemen..!t.(see.Se |
5620 | 63 74 69 6f 6e 93 34 2e 34 2e 33 29 2e 91 04 d4 62 49 66 93 74 68 65 93 63 6f 6e 98 74 72 6f 6c | ction.4.4.3)....bIf.the.con.trol |
5640 | 93 72 65 61 63 98 68 65 73 8e a6 8d 91 fd 27 91 74 68 65 96 03 a6 66 65 6e 64 93 6f 66 93 61 93 | .reac.hes.....'.the...fend.of.a. |
5660 | 66 75 6e 63 74 69 6f 6e 93 77 69 74 68 6f 75 74 93 61 93 72 65 74 75 72 6e 93 69 6e 73 74 72 75 | function.without.a.return.instru |
5680 | 63 74 69 6f 6e 2c 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 93 72 65 74 75 72 6e 73 93 77 69 74 68 | ction,.the.function.returns.with |
56a0 | 93 6e 6f 93 72 65 73 75 6c 74 73 2e 8e 9f 22 80 41 8d 8d 91 fd 27 91 e2 35 8e 91 15 fe 90 54 68 | .no.results...".A....'..5.....Th |
56c0 | 65 96 05 85 1c 41 70 70 6c 69 63 61 74 69 6f 6e 93 50 72 6f 67 72 61 6d 93 49 6e 90 8a 3d 74 65 | e....Application.Program.In..=te |
56e0 | 72 66 61 63 65 8e 9f 18 71 8b 8d 91 fd 27 91 cd 54 68 69 73 96 04 81 44 73 65 63 74 69 6f 6e 93 | rface...q....'..This...Dsection. |
5700 | 64 65 73 63 72 69 62 90 4d de 65 73 93 74 68 65 93 41 50 49 91 04 81 0c 66 6f 72 93 4c 75 61 2c | describ.M.es.the.API....for.Lua, |
5720 | 9b 04 b7 fb 74 68 61 74 93 69 73 2c 98 74 68 65 93 73 65 74 93 6f 66 93 43 91 04 81 0c 66 75 6e | ....that.is,.the.set.of.C....fun |
5740 | 63 74 69 6f 6e 73 93 61 90 b2 21 76 91 ff 64 44 61 69 6c 61 62 6c 65 93 74 6f 93 74 68 65 93 68 | ctions.a..!v..dDailable.to.the.h |
5760 | 6f 73 74 8e a6 8d 91 fd 27 91 70 72 6f 67 72 61 6d 96 03 45 f2 74 6f 93 63 6f 6d 6d 9a b2 21 75 | ost.....'.program..E.to.comm..!u |
5780 | 6e 69 63 61 74 65 93 77 69 74 68 93 74 68 65 93 6c 69 62 72 61 72 79 91 ff 16 65 2e 91 04 bd b7 | nicate.with.the.library...e..... |
57a0 | 54 68 65 93 41 50 49 91 03 45 da 66 75 6e 63 74 69 6f 6e 73 93 63 61 6e 93 62 90 4d de 65 93 63 | The.API..E.functions.can.b.M.e.c |
57c0 | 6c 61 73 73 69 0c 65 64 93 69 6e 93 74 68 65 93 66 6f 6c 6c 6f 98 77 69 6e 67 8e a6 8d 91 fd 27 | lassi.ed.in.the.follo.wing.....' |
57e0 | 91 63 61 74 65 67 6f 72 69 65 73 3a 8e a4 16 99 9a 8d 8d 8d 8d 91 0a 89 b6 31 2e 8e 8e 8e 91 18 | .categories:.............1...... |
5800 | 87 95 65 78 65 63 75 74 69 6e 67 96 03 a6 66 4c 75 61 93 63 6f 90 4d de 64 65 3b 8e a1 8d 8d 8d | ..executing...fLua.co.M.de;..... |
5820 | 8d 91 0a 89 b6 32 2e 8e 8e 8e 91 18 87 95 63 6f 6e 95 b2 21 76 93 65 72 74 69 6e 67 96 03 a6 66 | .....2........con..!v.erting...f |
5840 | 76 91 ff 64 44 61 6c 75 65 73 93 62 90 4d de 65 74 95 b2 21 77 93 65 65 6e 96 03 a6 66 43 93 61 | v..dDalues.b.M.et..!w.een...fC.a |
5860 | 6e 64 93 4c 75 61 3b 8e a1 8d 8d 8d 8d 91 0a 89 b6 33 2e 8e 8e 8e 91 18 87 95 6d 61 6e 69 70 75 | nd.Lua;..........3........manipu |
5880 | 6c 61 74 69 6e 67 96 03 a6 66 28 72 65 61 64 69 6e 67 93 61 6e 64 93 77 72 69 74 69 6e 67 29 93 | lating...f(reading.and.writing). |
58a0 | 4c 75 61 93 6f 62 91 00 9b bb 6a 65 63 74 73 3b 8e a1 8d 8d 8d 8d 91 0a 89 b6 34 2e 8e 8e 8e 91 | Lua.ob....jects;..........4..... |
58c0 | 18 87 95 63 61 6c 6c 69 6e 67 96 03 a6 66 4c 75 61 93 66 75 6e 63 74 69 6f 6e 73 3b 8e a1 8d 8d | ...calling...fLua.functions;.... |
58e0 | 8d 8d 91 0a 89 b6 35 2e 8e 8e 8e 91 18 87 95 43 96 03 a6 66 66 75 6e 63 74 69 6f 6e 73 93 74 6f | ......5........C...ffunctions.to |
5900 | 93 62 90 4d de 65 93 63 61 6c 6c 65 64 93 62 90 b2 21 79 93 4c 75 61 3b 8e a1 8d 8d 8d 8d 91 0a | .b.M.e.called.b..!y.Lua;........ |
5920 | 89 b6 36 2e 8e 8e 8e 91 18 87 95 65 72 72 6f 72 91 03 a6 66 68 61 6e 64 6c 69 6e 67 2e 8e a1 8d | ..6........error...fhandling.... |
5940 | 91 fd 27 91 41 6c 6c 96 03 34 7d 41 50 49 9b 03 34 60 66 75 6e 63 74 69 6f 6e 73 93 61 72 65 93 | ..'.All..4}API..4`functions.are. |
5960 | 64 65 63 6c 61 72 65 64 93 69 6e 93 74 68 65 93 0c 6c 65 93 d3 6c 75 61 2e 68 cd 2e 91 04 b7 e5 | declared.in.the..le..lua.h...... |
5980 | 55 6e 6c 65 73 73 93 73 74 61 74 65 64 93 6f 74 68 65 72 77 69 73 65 2c 91 03 4b 45 41 50 49 98 | Unless.stated.otherwise,..KEAPI. |
59a0 | 66 75 6e 63 74 69 6f 6e 73 93 72 65 74 75 72 6e 8e a6 8d 91 fd 27 91 61 6e 96 03 a6 66 65 72 72 | functions.return.....'.an...ferr |
59c0 | 6f 72 93 63 6f 90 4d de 64 65 3a 91 04 dd dd 30 93 69 6e 93 63 61 73 65 93 6f 66 93 73 75 63 63 | or.co.M.de:....0.in.case.of.succ |
59e0 | 65 73 73 2c 93 6e 6f 6e 93 30 93 69 6e 93 63 61 73 65 93 6f 66 93 65 72 72 6f 72 73 2e 8e 9f 1d | ess,.non.0.in.case.of.errors.... |
5a00 | 52 85 8d 8d 91 fd 27 91 db 35 2e 31 8e 91 1b e7 91 45 78 65 63 75 74 69 6e 67 96 04 80 00 4c 75 | R.....'..5.1.....Executing....Lu |
5a20 | 61 93 43 6f 90 60 00 64 65 8e 9f 14 ab ff 8d 91 fd 27 91 cd 41 91 03 d3 6b 68 6f 73 74 96 03 d3 | a.Co.`.de........'..A...khost... |
5a40 | 77 70 72 6f 67 72 61 6d 93 63 61 6e 93 65 78 65 63 75 74 65 93 4c 75 61 93 70 72 6f 67 72 61 6d | wprogram.can.execute.Lua.program |
5a60 | 73 93 77 72 69 74 74 65 6e 93 69 6e 93 61 93 0c 6c 65 93 6f 72 93 69 6e 93 61 93 73 74 72 69 6e | s.written.in.a..le.or.in.a.strin |
5a80 | 67 2c 91 03 de bb 75 73 69 6e 67 93 74 68 65 93 66 6f 6c 6c 6f 90 b2 21 77 69 6e 67 8e a6 8d 91 | g,....using.the.follo..!wing.... |
5aa0 | fd 27 91 66 75 6e 63 74 69 6f 6e 73 3a 8e a1 8d 91 fd 27 91 d3 69 6e 74 91 44 fb f8 6c 75 61 5f | .'.functions:.....'..int.D..lua_ |
5ac0 | 64 6f 66 69 6c 65 91 56 3a f6 28 63 68 61 72 91 05 bf aa 2a 66 69 6c 65 6e 61 6d 65 29 3b 8e a6 | dofile.V:.(char....*filename);.. |
5ae0 | 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 64 6f 73 74 72 69 6e 67 91 4a bb a2 28 63 68 61 | ...'.int.D..lua_dostring.J..(cha |
5b00 | 72 91 05 bf aa 2a 73 74 72 69 6e 67 29 3b 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 35 2e 32 8e 91 1b | r....*string);...R.....'..5.2... |
5b20 | e7 91 43 6f 6e 95 a0 00 76 93 65 72 74 69 6e 67 96 04 80 00 56 91 fe e0 00 61 6c 75 65 73 93 62 | ..Con...v.erting....V....alues.b |
5b40 | 90 60 00 65 74 95 a0 00 77 93 65 65 6e 96 04 80 00 43 93 61 6e 64 93 4c 75 61 8e 9f 14 ab ff 8d | .`.et...w.een....C.and.Lua...... |
5b60 | 91 fd 27 91 cd 42 65 63 61 75 73 65 96 05 ae a6 4c 75 61 93 68 61 73 93 6e 6f 93 73 74 61 74 69 | ..'..Because....Lua.has.no.stati |
5b80 | 63 93 74 90 b2 21 79 70 9a 4d de 65 93 73 79 73 74 65 6d 2c 91 06 30 b6 61 6c 6c 93 76 91 ff 64 | c.t..!yp.M.e.system,..0.all.v..d |
5ba0 | 44 61 6c 75 65 73 93 70 61 73 73 65 64 93 62 98 65 74 95 b2 21 77 93 65 65 6e 96 05 ae a6 4c 75 | Dalues.passed.b.et..!w.een....Lu |
5bc0 | 61 93 61 6e 64 93 43 91 05 ae 21 68 61 95 b2 21 76 93 65 91 05 ae a6 74 93 79 70 98 65 8e a6 8d | a.and.C...!ha..!v.e....t.yp.e... |
5be0 | 91 fd 27 91 d3 6c 75 61 5f 4f 62 6a 65 63 74 cd 2c 91 03 5f 63 77 68 69 63 95 b2 21 68 9b 03 4d | ..'..lua_Object.,.._cwhic..!h..M |
5c00 | a2 77 93 6f 72 6b 73 98 6c 69 6b 93 65 98 61 6e 98 61 62 73 74 72 61 63 74 98 74 93 79 70 90 4d | .w.orks.lik.e.an.abstract.t.yp.M |
5c20 | de 65 98 69 6e 98 43 91 03 4d 8c 74 68 61 74 98 63 61 6e 98 68 6f 6c 64 98 61 6e 93 79 98 4c 75 | .e.in.C..M.that.can.hold.an.y.Lu |
5c40 | 61 98 76 91 ff 64 44 61 6c 75 65 2e 91 04 c0 47 d3 6c 75 61 5f 4f 62 6a 65 63 74 8e a6 8d 91 fd | a.v..dDalue....G.lua_Object..... |
5c60 | 27 91 cd 69 73 96 03 a6 66 64 65 63 6c 61 72 65 64 93 61 73 3a 8e a1 8d 91 fd 27 91 d3 74 79 70 | '..is...fdeclared.as:.....'..typ |
5c80 | 65 64 65 66 96 05 bf aa 73 74 72 75 63 74 93 4f 62 6a 65 63 74 93 2a 6c 75 61 5f 4f 62 6a 65 63 | edef....struct.Object.*lua_Objec |
5ca0 | 74 3b 8e 8e 9f 1c 73 e7 8d 92 00 db 31 a1 cd 38 8e 8e 8c 8b 00 00 00 09 00 00 00 00 00 00 00 00 | t;....s.....1..8................ |
5cc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 52 c5 | ..............................R. |
5ce0 | a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 91 fd 27 91 cd 77 68 65 72 | ....c...2......|...u.k...'..wher |
5d00 | 65 96 03 a6 66 d3 4f 62 6a 65 63 74 93 cd 69 73 93 6e 6f 74 93 64 65 63 6c 61 72 65 64 93 69 6e | e...f.Object..is.not.declared.in |
5d20 | 93 d3 6c 75 61 2e 68 cd 2e 8e a4 0d 99 9a 8d 91 0e 27 91 4c 75 61 96 04 94 d3 68 61 73 93 67 61 | ..lua.h..........'.Lua....has.ga |
5d40 | 72 62 61 67 65 93 63 6f 6c 6c 65 63 74 69 6f 6e 2e 91 07 a9 24 54 68 65 72 65 66 6f 72 65 2c 91 | rbage.collection....$Therefore,. |
5d60 | 04 d0 6e 74 68 65 72 65 93 69 73 93 6e 6f 93 67 75 61 72 61 6e 90 b2 21 74 65 65 93 74 68 61 74 | ..nthere.is.no.guaran..!tee.that |
5d80 | 93 61 93 d3 6c 75 61 5f 4f 62 6a 65 63 74 93 cd 77 69 6c 6c 93 62 90 4d de 65 8e a1 8d 91 fd 27 | .a..lua_Object..will.b.M.e.....' |
5da0 | 91 76 91 ff 64 44 61 6c 69 64 96 04 6b 6e 61 66 74 65 72 93 61 6e 6f 74 68 65 72 93 65 78 65 63 | .v..dDalid..knafter.another.exec |
5dc0 | 75 74 69 6f 6e 93 6f 66 93 4c 75 61 93 63 6f 95 4d de 64 65 2e 91 07 2c f4 41 91 04 6b 3b 67 6f | ution.of.Lua.co.M.de...,.A..k;go |
5de0 | 93 6f 93 64 96 04 6b 6e 70 72 6f 67 72 61 6d 6d 69 6e 67 93 70 72 61 63 74 69 63 65 93 69 73 93 | .o.d..knprogramming.practice.is. |
5e00 | 74 6f 93 63 6f 6e 95 b2 21 76 93 65 72 74 91 04 6b 6e 73 75 63 93 68 8e a1 8d 91 fd 27 91 6f 62 | to.con..!v.ert..knsuc.h.....'.ob |
5e20 | 91 00 9b bb 6a 65 63 74 73 96 03 a6 66 74 6f 93 43 93 76 9b ff 64 44 61 6c 75 65 73 93 61 73 93 | ....jects...fto.C.v..dDalues.as. |
5e40 | 73 6f 90 4d de 6f 6e 93 61 73 93 74 68 65 79 93 61 72 65 93 61 90 b2 21 76 98 61 69 6c 61 62 6c | so.M.on.as.they.are.a..!v.ailabl |
5e60 | 65 2c 93 61 6e 64 93 6e 65 76 90 b2 21 65 72 93 73 74 6f 72 65 93 74 68 65 6d 93 69 6e 93 67 6c | e,.and.nev..!er.store.them.in.gl |
5e80 | 6f 62 61 6c 93 76 98 61 72 69 61 62 6c 65 73 2e 8e a1 8d 91 0e 27 91 54 91 ff 16 65 6f 9b 03 a6 | obal.v.ariables......'.T...eo... |
5ea0 | 66 63 95 b2 21 68 65 63 93 6b 98 74 68 65 98 74 93 79 70 90 4d de 65 98 6f 66 98 61 98 d3 6c 75 | fc..!hec.k.the.t.yp.M.e.of.a..lu |
5ec0 | 61 5f 4f 62 6a 65 63 74 cd 2c 98 74 68 65 98 66 6f 6c 6c 6f 93 77 69 6e 67 98 66 75 6e 63 74 69 | a_Object.,.the.follo.wing.functi |
5ee0 | 6f 6e 73 98 61 72 65 98 61 93 76 91 ff 64 44 61 69 6c 61 62 6c 65 3a 8e a9 16 99 9a 8d 91 fd 27 | ons.are.a.v..dDailable:........' |
5f00 | 91 d3 69 6e 74 91 44 fb f8 6c 75 61 5f 69 73 6e 69 6c 91 5b fa a0 28 6c 75 61 5f 4f 62 6a 65 63 | ..int.D..lua_isnil.[..(lua_Objec |
5f20 | 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 69 | t....object);.....'.int.D..lua_i |
5f40 | 73 6e 75 6d 62 65 72 91 4a bb a2 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 74 | snumber.J..(lua_Object....object |
5f60 | 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 69 73 73 74 72 69 6e 67 91 4a bb a2 | );.....'.int.D..lua_isstring.J.. |
5f80 | 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 69 6e | (lua_Object....object);.....'.in |
5fa0 | 74 91 44 fb f8 6c 75 61 5f 69 73 74 61 62 6c 65 91 50 7b 4c 28 6c 75 61 5f 4f 62 6a 65 63 74 91 | t.D..lua_istable.P{L(lua_Object. |
5fc0 | 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 69 73 63 | ...object);.....'.int.D..lua_isc |
5fe0 | 66 75 6e 63 74 69 6f 6e 91 39 7c a4 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 | function.9|.(lua_Object....objec |
6000 | 74 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 69 73 75 73 65 72 64 61 74 61 91 | t);.....'.int.D..lua_isuserdata. |
6020 | 3f 3c 4e 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a6 8d 91 fd 27 | ?<N(lua_Object....object);.....' |
6040 | 91 cd 41 6c 6c 96 03 a6 66 72 65 74 75 72 6e 93 31 93 69 66 93 74 68 65 93 6f 62 91 00 9b bb 6a | ..All...freturn.1.if.the.ob....j |
6060 | 65 63 74 93 68 61 73 93 74 68 65 93 67 69 76 9a b2 21 65 6e 93 74 98 79 70 90 4d de 65 2c 93 30 | ect.has.the.giv..!en.t.yp.M.e,.0 |
6080 | 93 6f 74 68 65 72 77 69 73 65 2e 8e a1 8d 91 0e 27 91 54 91 ff 16 65 6f 96 03 a6 66 74 72 61 6e | .otherwise......'.T...eo...ftran |
60a0 | 73 6c 61 74 65 93 61 93 76 91 ff 64 44 61 6c 75 65 93 66 72 6f 6d 93 74 90 b2 21 79 70 9a 4d de | slate.a.v..dDalue.from.t..!yp.M. |
60c0 | 65 93 d3 6c 75 61 5f 4f 62 6a 65 63 74 93 cd 74 6f 93 61 93 73 70 98 65 63 69 0c 63 93 43 93 74 | e..lua_Object..to.a.sp.eci.c.C.t |
60e0 | 90 b2 21 79 70 98 65 2c 93 74 68 65 93 70 72 6f 67 72 61 6d 6d 65 72 93 63 61 6e 93 75 73 65 3a | ..!yp.e,.the.programmer.can.use: |
6100 | 8e a6 8d 91 fd 27 91 d3 66 6c 6f 61 74 91 39 7c a4 6c 75 61 5f 67 65 74 6e 75 6d 62 65 72 91 44 | .....'..float.9|.lua_getnumber.D |
6120 | fb f8 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 | ..(lua_Object....object);.....'. |
6140 | 63 68 61 72 91 39 7c a4 2a 6c 75 61 5f 67 65 74 73 74 72 69 6e 67 91 44 fb f8 28 6c 75 61 5f 4f | char.9|.*lua_getstring.D..(lua_O |
6160 | 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 63 68 61 72 91 39 7c a4 | bject....object);.....'.char.9|. |
6180 | 2a 6c 75 61 5f 63 6f 70 79 73 74 72 69 6e 67 91 3f 3c 4e 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 | *lua_copystring.?<N(lua_Object.. |
61a0 | bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 6c 75 61 5f 43 46 75 6e 63 74 69 6f 6e 91 0b | ..object);.....'.lua_CFunction.. |
61c0 | 7f 54 6c 75 61 5f 67 65 74 63 66 75 6e 63 74 69 6f 6e 91 33 bc fa 28 6c 75 61 5f 4f 62 6a 65 63 | .Tlua_getcfunction.3..(lua_Objec |
61e0 | 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e a1 8d 91 fd 27 91 76 6f 69 64 96 39 7c a4 2a 6c 75 61 | t....object);.....'.void.9|.*lua |
6200 | 5f 67 65 74 75 73 65 72 64 61 74 61 93 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 | _getuserdata.(lua_Object....obje |
6220 | 63 74 29 3b 8e a6 8d 91 fd 27 91 6c 75 61 5f 67 65 74 6e 75 6d 62 65 72 9b 04 48 e7 cd 63 6f 6e | ct);.....'.lua_getnumber..H..con |
6240 | 95 b2 21 76 93 65 72 74 73 98 61 98 d3 6c 75 61 5f 4f 62 6a 65 63 74 98 cd 74 6f 98 61 98 0d 6f | ..!v.erts.a..lua_Object..to.a..o |
6260 | 61 74 2e 91 06 c5 5f 54 68 69 73 98 d3 6c 75 61 5f 4f 62 6a 65 63 74 98 cd 6d 93 75 73 74 98 62 | at...._This..lua_Object..m.ust.b |
6280 | 90 4d de 65 98 61 98 6e 93 75 6d 93 62 90 4d de 65 72 98 6f 72 98 61 8e a1 8d 91 fd 27 91 73 74 | .M.e.a.n.um.b.M.er.or.a.....'.st |
62a0 | 72 69 6e 67 9b 03 a6 66 63 6f 6e 95 b2 21 76 93 65 72 74 69 62 6c 65 98 74 6f 98 6e 93 75 6d 93 | ring...fcon..!v.ertible.to.n.um. |
62c0 | 62 90 4d de 65 72 98 28 73 65 65 98 53 65 63 74 69 6f 6e 98 34 2e 32 29 3b 98 6f 74 68 65 72 77 | b.M.er.(see.Section.4.2);.otherw |
62e0 | 69 73 65 2c 98 74 68 65 98 66 75 6e 63 74 69 6f 6e 98 72 65 74 75 72 6e 73 98 30 2e 8e a1 8d 91 | ise,.the.function.returns.0..... |
6300 | 0e 27 91 d3 6c 75 61 5f 67 65 74 73 74 72 69 6e 67 9b 03 d8 77 cd 63 6f 6e 95 b2 21 76 93 65 72 | .'..lua_getstring...w.con..!v.er |
6320 | 74 73 98 61 98 d3 6c 75 61 5f 4f 62 6a 65 63 74 98 cd 74 6f 98 61 98 73 74 72 69 6e 67 98 28 d3 | ts.a..lua_Object..to.a.string.(. |
6340 | 63 68 61 72 91 05 bf aa 2a cd 29 2e 91 05 74 10 54 68 69 73 98 d3 6c 75 61 5f 4f 62 6a 65 63 74 | char....*.)...t.This..lua_Object |
6360 | 98 cd 6d 93 75 73 74 98 62 90 4d de 65 98 61 8e a1 8d 91 fd 27 91 73 74 72 69 6e 67 96 04 66 50 | ..m.ust.b.M.e.a.....'.string..fP |
6380 | 6f 72 93 61 93 6e 95 b2 21 75 6d 93 62 9a 4d de 65 72 3b 91 04 c6 45 6f 74 68 65 72 77 69 73 65 | or.a.n..!um.b.M.er;...Eotherwise |
63a0 | 2c 91 04 96 4b 74 68 65 96 04 66 50 66 75 6e 63 74 69 6f 6e 93 72 65 74 75 72 6e 73 93 30 93 28 | ,...Kthe..fPfunction.returns.0.( |
63c0 | 74 68 65 93 6e 90 b2 21 75 6c 6c 93 70 98 6f 69 6e 90 b2 21 74 65 72 29 2e 91 07 1d 9c 54 68 69 | the.n..!ull.p.oin..!ter).....Thi |
63e0 | 73 93 66 75 6e 63 74 69 6f 6e 93 64 6f 98 65 73 8e a1 8d 91 fd 27 91 6e 6f 74 96 03 64 f7 63 72 | s.function.do.es.....'.not..d.cr |
6400 | 65 61 74 65 93 61 93 6e 65 77 93 73 74 72 69 6e 67 2c 91 03 72 0d 62 75 74 93 72 65 74 75 72 6e | eate.a.new.string,..r.but.return |
6420 | 73 93 61 93 70 90 4d de 6f 69 6e 9a b2 21 74 65 72 93 74 6f 93 61 93 73 74 72 69 6e 67 93 69 6e | s.a.p.M.oin..!ter.to.a.string.in |
6440 | 73 69 64 65 93 74 68 65 93 4c 75 61 93 65 6e 98 76 69 72 6f 6e 6d 65 6e 98 74 2e 91 04 c8 0d 42 | side.the.Lua.en.vironmen.t.....B |
6460 | 65 63 61 75 73 65 8e a1 8d 91 fd 27 91 4c 75 61 96 03 ac f3 68 61 73 93 67 61 72 62 61 67 65 93 | ecause.....'.Lua....has.garbage. |
6480 | 63 6f 6c 6c 65 63 74 69 6f 6e 2c 91 03 ae 96 74 68 65 72 65 93 69 73 93 6e 6f 93 67 75 61 72 61 | collection,....there.is.no.guara |
64a0 | 6e 9a b2 21 74 65 65 93 74 68 61 74 93 73 75 63 98 68 93 70 90 4d de 6f 69 6e 98 74 65 72 93 77 | n..!tee.that.suc.h.p.M.oin.ter.w |
64c0 | 69 6c 6c 93 62 90 4d de 65 93 76 91 ff 64 44 61 6c 69 64 93 61 66 74 65 72 93 61 6e 6f 74 68 65 | ill.b.M.e.v..dDalid.after.anothe |
64e0 | 72 8e a1 8d 91 fd 27 91 65 78 65 63 75 74 69 6f 6e 96 04 89 70 6f 66 93 4c 75 61 93 63 6f 9a 4d | r.....'.execution...pof.Lua.co.M |
6500 | de 64 65 2e 91 07 86 fc 54 68 65 93 66 75 6e 63 74 69 6f 6e 93 d3 6c 75 61 5f 63 6f 70 79 73 74 | .de.....The.function..lua_copyst |
6520 | 72 69 6e 67 93 cd 62 98 65 68 61 95 b2 21 76 93 65 73 96 04 89 70 65 78 61 63 74 6c 79 93 6c 69 | ring..b.eha..!v.es...pexactly.li |
6540 | 6b 90 b2 21 65 93 d3 6c 75 61 5f 67 65 74 73 74 72 69 6e 67 cd 2c 8e a1 8d 91 fd 27 91 62 75 74 | k..!e..lua_getstring.,.....'.but |
6560 | 96 03 a6 66 72 65 74 75 72 6e 73 93 61 93 66 72 65 73 68 93 63 6f 70 90 b2 21 79 93 6f 66 93 74 | ...freturns.a.fresh.cop..!y.of.t |
6580 | 68 65 93 73 74 72 69 6e 67 2e 8e a1 8d 91 0e 27 91 d3 6c 75 61 5f 67 65 74 63 66 75 6e 63 74 69 | he.string......'..lua_getcfuncti |
65a0 | 6f 6e 9b 04 3c 29 cd 63 6f 6e 95 b2 21 76 93 65 72 74 73 98 61 98 d3 6c 75 61 5f 4f 62 6a 65 63 | on..<).con..!v.erts.a..lua_Objec |
65c0 | 74 98 cd 74 6f 98 61 98 43 91 04 3c 02 66 75 6e 63 74 69 6f 6e 2e 91 06 9f 26 54 68 69 73 98 d3 | t..to.a.C..<.function....&This.. |
65e0 | 6c 75 61 5f 4f 62 6a 65 63 74 98 cd 6d 93 75 73 74 98 68 61 93 76 93 65 8e a1 8d 91 fd 27 91 74 | lua_Object..m.ust.ha.v.e.....'.t |
6600 | 9a b2 21 79 70 90 4d de 65 96 03 5f 7e d0 43 66 75 6e 63 74 69 6f 6e 91 00 d7 0b cd 3b 91 03 77 | ..!yp.M.e.._~.Cfunction.....;..w |
6620 | 21 6f 74 68 65 72 77 69 73 65 2c 91 03 6d ad 74 68 65 93 66 75 6e 63 74 69 6f 6e 93 72 65 74 75 | !otherwise,..m.the.function.retu |
6640 | 72 6e 73 93 30 93 28 74 68 65 93 6e 98 75 6c 6c 93 70 90 4d de 6f 69 6e 98 74 65 72 29 2e 91 04 | rns.0.(the.n.ull.p.M.oin.ter)... |
6660 | c6 3a 54 68 65 93 74 98 79 70 90 4d de 65 93 d3 6c 75 61 5f 43 46 75 6e 63 74 69 6f 6e 8e a1 8d | .:The.t.yp.M.e..lua_CFunction... |
6680 | 91 fd 27 91 cd 69 73 96 03 a6 66 65 78 70 6c 61 69 6e 65 64 93 69 6e 93 53 65 63 74 69 6f 6e 93 | ..'..is...fexplained.in.Section. |
66a0 | 35 2e 35 2e 8e a1 8d 91 0e 27 91 d3 6c 75 61 5f 67 65 74 75 73 65 72 64 61 74 61 9b 05 4e c9 cd | 5.5......'..lua_getuserdata..N.. |
66c0 | 63 6f 6e 95 b2 21 76 93 65 72 74 73 98 61 98 d3 6c 75 61 5f 4f 62 6a 65 63 74 98 cd 74 6f 98 d3 | con..!v.erts.a..lua_Object..to.. |
66e0 | 76 6f 69 64 2a cd 2e 91 09 d7 06 54 68 69 73 98 d3 6c 75 61 5f 4f 62 6a 65 63 74 98 cd 6d 93 75 | void*......This..lua_Object..m.u |
6700 | 73 74 98 68 61 93 76 93 65 98 74 93 79 70 90 4d de 65 8e a1 8d 91 fd 27 91 d0 75 73 65 72 91 ff | st.ha.v.e.t.yp.M.e.....'..user.. |
6720 | 70 b9 64 61 74 61 91 00 d7 0b cd 3b 96 03 a6 66 6f 74 68 65 72 77 69 73 65 2c 93 74 68 65 93 66 | p.data.....;...fotherwise,.the.f |
6740 | 75 6e 63 74 69 6f 6e 93 72 65 74 75 72 6e 73 93 30 93 28 74 68 65 93 6e 9a b2 21 75 6c 6c 93 70 | unction.returns.0.(the.n..!ull.p |
6760 | 90 4d de 6f 69 6e 98 74 65 72 29 2e 8e a1 8d 91 0e 27 91 54 68 65 96 03 58 83 72 65 76 90 b2 21 | .M.oin.ter)......'.The..X.rev..! |
6780 | 65 72 73 65 93 70 72 6f 90 4d de 63 65 73 73 2c 9b 03 68 17 74 68 61 74 93 69 73 2c 98 74 68 65 | erse.pro.M.cess,..h.that.is,.the |
67a0 | 93 63 6f 6e 95 b2 21 76 93 65 72 73 69 6f 6e 96 03 58 83 66 72 6f 6d 93 61 93 73 70 9a 4d de 65 | .con..!v.ersion..X.from.a.sp.M.e |
67c0 | 63 69 0c 63 93 43 91 03 58 6f 74 90 b2 21 79 70 98 65 93 74 6f 93 74 68 65 93 74 90 b2 21 79 70 | ci.c.C..Xot..!yp.e.to.the.t..!yp |
67e0 | 98 65 93 d3 6c 75 61 5f 4f 62 6a 65 63 74 cd 2c 8e a1 8d 91 fd 27 91 69 73 96 03 a6 66 64 6f 6e | .e..lua_Object.,.....'.is...fdon |
6800 | 65 93 62 9a b2 21 79 93 75 73 69 6e 67 93 74 68 65 93 66 6f 6c 6c 6f 98 77 69 6e 67 93 66 75 6e | e.b..!y.using.the.follo.wing.fun |
6820 | 63 74 69 6f 6e 73 3a 8e a6 8d 91 fd 27 91 d3 69 6e 74 91 44 fb f8 6c 75 61 5f 70 75 73 68 6e 75 | ctions:.....'..int.D..lua_pushnu |
6840 | 6d 62 65 72 91 3f 3c 4e 28 66 6c 6f 61 74 91 05 bf aa 6e 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 | mber.?<N(float....n);.....'.int. |
6860 | 44 fb f8 6c 75 61 5f 70 75 73 68 73 74 72 69 6e 67 91 3f 3c 4e 28 63 68 61 72 91 05 bf aa 2a 73 | D..lua_pushstring.?<N(char....*s |
6880 | 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 70 75 73 68 63 66 75 6e 63 74 69 6f | );.....'.int.D..lua_pushcfunctio |
68a0 | 6e 91 2d fd 50 28 6c 75 61 5f 43 46 75 6e 63 74 69 6f 6e 91 05 bf aa 66 29 3b 8e a1 8d 91 fd 27 | n.-.P(lua_CFunction....f);.....' |
68c0 | 91 69 6e 74 91 44 fb f8 6c 75 61 5f 70 75 73 68 75 73 65 72 64 61 74 61 91 33 bc fa 28 76 6f 69 | .int.D..lua_pushuserdata.3..(voi |
68e0 | 64 91 05 bf aa 2a 75 29 3b 8e a6 8d 91 fd 27 91 cd 41 6c 6c 96 03 64 32 6f 66 93 74 68 65 6d 93 | d....*u);.....'..All..d2of.them. |
6900 | 72 65 63 65 69 76 9a b2 21 65 93 61 93 43 91 03 64 22 76 91 ff 64 44 61 6c 75 65 2c 91 03 71 70 | receiv..!e.a.C..d"v..dDalue,..qp |
6920 | 63 6f 6e 98 76 98 65 72 74 93 69 74 93 74 6f 93 61 93 d3 6c 75 61 5f 4f 62 6a 65 63 74 cd 2c 91 | con.v.ert.it.to.a..lua_Object.,. |
6940 | 03 71 70 61 6e 64 93 6c 65 61 98 76 98 65 93 74 68 65 69 72 93 72 65 73 75 6c 74 73 93 6f 6e 93 | .qpand.lea.v.e.their.results.on. |
6960 | 74 68 65 93 74 6f 70 93 6f 66 8e a1 8d 91 fd 27 91 74 68 65 96 03 74 99 4c 75 61 93 73 74 61 63 | the.top.of.....'.the..t.Lua.stac |
6980 | 90 b2 21 6b 2c 9b 03 7e 8f 77 68 65 72 65 93 69 74 93 63 61 6e 93 62 90 4d de 65 93 61 73 73 69 | ..!k,..~.where.it.can.b.M.e.assi |
69a0 | 67 6e 65 64 93 74 6f 93 61 93 76 91 ff 64 44 61 72 69 61 62 6c 65 2c 98 70 61 73 73 65 64 93 61 | gned.to.a.v..dDariable,.passed.a |
69c0 | 73 93 70 61 72 61 6d 65 6e 90 b2 21 74 65 72 93 74 6f 93 61 93 4c 75 61 93 66 75 6e 63 74 69 6f | s.paramen..!ter.to.a.Lua.functio |
69e0 | 6e 2c 8e a1 8d 91 fd 27 91 65 74 63 96 03 ef 8f 28 73 65 65 93 62 9a 4d de 65 6c 6f 90 b2 21 77 | n,.....'.etc....(see.b.M.elo..!w |
6a00 | 29 2e 91 05 b9 57 54 91 ff 16 65 6f 93 63 6f 6d 70 6c 65 74 65 93 74 68 65 93 73 65 74 2c 91 04 | )....WT...eo.complete.the.set,.. |
6a20 | 01 d9 74 68 65 93 76 91 ff 64 44 61 6c 75 65 93 d2 6e 69 6c 93 cd 6f 72 93 61 93 d3 6c 75 61 5f | ..the.v..dDalue..nil..or.a..lua_ |
6a40 | 4f 62 6a 65 63 74 93 cd 63 61 6e 93 61 6c 73 6f 93 62 98 65 93 70 75 73 68 65 64 93 6f 6e 90 b2 | Object..can.also.b.e.pushed.on.. |
6a60 | 21 74 6f 8e a1 8d 91 fd 27 91 74 68 65 96 03 a6 66 73 74 61 63 90 b2 21 6b 2c 93 77 69 74 68 3a | !to.....'.the...fstac..!k,.with: |
6a80 | 8e a6 8d 91 fd 27 91 d3 69 6e 74 91 44 fb f8 6c 75 61 5f 70 75 73 68 6e 69 6c 91 50 7b 4c 28 76 | .....'..int.D..lua_pushnil.P{L(v |
6aa0 | 6f 69 64 29 3b 8e a1 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 70 75 73 68 6f 62 6a 65 63 | oid);.....'.int.D..lua_pushobjec |
6ac0 | 74 91 3f 3c 4e 28 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 62 6a 65 63 74 29 3b 8e 8e 9f 1c | t.?<N(lua_Object....object);.... |
6ae0 | 73 e7 8d 92 00 db 31 a1 cd 39 8e 8e 8c 8b 00 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | s.....1..9...................... |
6b00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5c b3 a0 02 cd 02 63 8d | ........................\.....c. |
6b20 | a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 8d 91 fd 27 91 db 35 2e 33 8e 91 1b e7 91 4d | ..2......|...u.k....'..5.3.....M |
6b40 | 61 6e 69 70 75 6c 61 74 69 6e 67 96 04 80 00 4c 75 61 93 4f 62 91 00 c0 00 6a 65 63 74 73 8e 9f | anipulating....Lua.Ob....jects.. |
6b60 | 14 ab ff 8d 91 fd 27 91 cd 54 91 ff 16 65 6f 96 03 a6 66 72 65 61 64 93 74 68 65 93 76 9b ff 64 | ......'..T...eo...fread.the.v..d |
6b80 | 44 61 6c 75 65 93 6f 66 93 61 6e 90 b2 21 79 93 67 6c 6f 62 61 6c 93 4c 75 61 93 76 98 61 72 69 | Dalue.of.an..!y.global.Lua.v.ari |
6ba0 | 61 62 6c 65 2c 93 6f 6e 65 93 63 61 6e 93 75 73 65 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 3a 8e | able,.one.can.use.the.function:. |
6bc0 | a4 16 48 77 8d 91 fd 27 91 d3 6c 75 61 5f 4f 62 6a 65 63 74 91 1c be 52 6c 75 61 5f 67 65 74 67 | ..Hw...'..lua_Object...Rlua_getg |
6be0 | 6c 6f 62 61 6c 91 44 fb f8 28 63 68 61 72 91 05 bf aa 2a 76 61 72 6e 61 6d 65 29 3b 8e a1 8d 91 | lobal.D..(char....*varname);.... |
6c00 | fd 27 91 cd 54 91 ff 16 65 6f 96 03 a6 66 73 74 6f 72 65 93 61 93 76 91 ff 64 44 61 6c 75 65 93 | .'..T...eo...fstore.a.v..dDalue. |
6c20 | 70 72 65 76 69 6f 75 73 6c 79 93 70 75 73 68 65 64 93 6f 6e 9a b2 21 74 6f 93 74 68 65 93 73 74 | previously.pushed.on..!to.the.st |
6c40 | 61 63 98 6b 93 69 6e 93 61 93 67 6c 6f 62 61 6c 93 76 91 ff 64 44 61 72 69 61 62 6c 65 2c 93 74 | ac.k.in.a.global.v..dDariable,.t |
6c60 | 68 65 72 65 93 69 73 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 3a 8e a1 8d 91 fd 27 91 d3 69 6e 74 | here.is.the.function:.....'..int |
6c80 | 91 44 fb f8 6c 75 61 5f 73 74 6f 72 65 67 6c 6f 62 61 6c 91 39 7c a4 28 63 68 61 72 91 05 bf aa | .D..lua_storeglobal.9|.(char.... |
6ca0 | 2a 76 61 72 6e 61 6d 65 29 3b 8e a1 8d 91 0e 27 91 cd 54 91 ff 16 65 61 62 6c 65 73 96 03 a6 66 | *varname);.....'..T...eables...f |
6cc0 | 63 61 6e 93 61 6c 73 6f 93 62 90 4d de 65 93 6d 61 6e 69 70 75 6c 61 74 65 64 93 76 69 61 93 74 | can.also.b.M.e.manipulated.via.t |
6ce0 | 68 65 93 41 50 49 2e 93 47 69 76 90 b2 21 65 6e 93 61 93 74 61 62 6c 65 2c 93 74 68 65 93 66 75 | he.API..Giv..!en.a.table,.the.fu |
6d00 | 6e 63 74 69 6f 6e 73 8e a1 8d 91 fd 27 91 d3 6c 75 61 5f 4f 62 6a 65 63 74 91 1c be 52 6c 75 61 | nctions.....'..lua_Object...Rlua |
6d20 | 5f 67 65 74 69 6e 64 65 78 65 64 91 3f 3c 4e 28 6c 75 61 5f 4f 62 6a 65 63 74 96 05 bf aa 74 61 | _getindexed.?<N(lua_Object....ta |
6d40 | 62 6c 65 2c 93 66 6c 6f 61 74 93 69 6e 64 65 78 29 3b 8e a9 0d 99 9a 8d 91 fd 27 91 6c 75 61 5f | ble,.float.index);........'.lua_ |
6d60 | 4f 62 6a 65 63 74 91 1c be 52 6c 75 61 5f 67 65 74 66 69 65 6c 64 91 4a bb a2 28 6c 75 61 5f 4f | Object...Rlua_getfield.J..(lua_O |
6d80 | 62 6a 65 63 74 96 05 bf aa 74 61 62 6c 65 2c 93 63 68 61 72 93 2a 66 69 65 6c 64 29 3b 8e a1 8d | bject....table,.char.*field);... |
6da0 | 91 fd 27 91 cd 72 65 74 75 72 6e 96 04 74 68 74 68 65 93 63 6f 6e 95 b2 21 74 65 6e 93 74 73 96 | ..'..return..ththe.con..!ten.ts. |
6dc0 | 04 74 68 6f 66 93 61 6e 93 69 6e 64 65 78 2e 91 07 47 e4 54 68 65 93 0c 72 73 74 93 6f 6e 65 93 | .thof.an.index...G.The..rst.one. |
6de0 | 69 73 93 75 73 65 64 93 66 6f 72 93 6e 90 b2 21 75 6d 65 72 69 63 93 69 6e 64 69 63 65 73 2c 91 | is.used.for.n..!umeric.indices,. |
6e00 | 04 a7 e9 77 68 69 6c 65 93 74 68 65 93 73 65 63 6f 6e 64 8e a6 8d 91 fd 27 91 63 61 6e 96 03 d4 | ...while.the.second.....'.can... |
6e20 | 06 62 90 4d de 65 93 75 73 65 64 93 66 6f 72 93 61 6e 9a b2 21 79 93 73 74 72 69 6e 67 93 69 6e | .b.M.e.used.for.an..!y.string.in |
6e40 | 64 65 78 2e 91 05 66 bc 41 73 93 69 6e 93 4c 75 61 2c 91 03 df 6d 69 66 93 74 68 65 93 69 6e 64 | dex...f.As.in.Lua,...mif.the.ind |
6e60 | 65 78 93 69 73 93 6e 6f 74 93 70 72 65 73 65 6e 98 74 93 69 6e 93 74 68 65 93 74 61 62 6c 65 2c | ex.is.not.presen.t.in.the.table, |
6e80 | 91 03 df 6d 74 68 65 6e 93 74 68 65 8e a6 8d 91 fd 27 91 72 65 74 75 72 6e 65 64 96 03 a6 66 d3 | ...mthen.the.....'.returned...f. |
6ea0 | 6c 75 61 5f 4f 62 6a 65 63 74 93 cd 68 61 73 93 76 91 ff 64 44 61 6c 75 65 93 d2 6e 69 6c cd 2e | lua_Object..has.v..dDalue..nil.. |
6ec0 | 8e a6 8d 91 0e 27 91 54 91 ff 16 65 6f 96 04 1e c5 73 74 6f 72 65 93 61 93 76 91 ff 64 44 61 6c | .....'.T...eo....store.a.v..dDal |
6ee0 | 75 65 2c 91 04 3c dc 70 72 65 76 69 6f 75 73 6c 79 93 70 75 73 68 65 64 93 6f 6e 9a b2 21 74 6f | ue,..<.previously.pushed.on..!to |
6f00 | 93 74 68 65 93 73 74 61 63 98 6b 2c 9b 04 3c dc 69 6e 93 61 93 70 90 4d de 6f 73 69 74 69 6f 6e | .the.stac.k,..<.in.a.p.M.osition |
6f20 | 93 6f 66 93 61 93 74 61 62 6c 65 2c 98 74 68 65 93 66 6f 6c 6c 6f 90 b2 21 77 69 6e 67 8e a6 8d | .of.a.table,.the.follo..!wing... |
6f40 | 91 fd 27 91 66 75 6e 63 74 69 6f 6e 73 96 03 a6 66 61 72 65 93 61 90 b2 21 76 91 ff 64 44 61 69 | ..'.functions...fare.a..!v..dDai |
6f60 | 6c 61 62 6c 65 3a 8e a1 8d 91 fd 27 91 d3 69 6e 74 91 44 fb f8 6c 75 61 5f 73 74 6f 72 65 69 6e | lable:.....'..int.D..lua_storein |
6f80 | 64 65 78 65 64 91 33 bc fa 28 6c 75 61 5f 4f 62 6a 65 63 74 96 05 bf aa 6f 62 6a 65 63 74 2c 93 | dexed.3..(lua_Object....object,. |
6fa0 | 66 6c 6f 61 74 93 69 6e 64 65 78 29 3b 8e a6 8d 91 fd 27 91 69 6e 74 91 44 fb f8 6c 75 61 5f 73 | float.index);.....'.int.D..lua_s |
6fc0 | 74 6f 72 65 66 69 65 6c 64 91 3f 3c 4e 28 6c 75 61 5f 4f 62 6a 65 63 74 96 05 bf aa 6f 62 6a 65 | torefield.?<N(lua_Object....obje |
6fe0 | 63 74 2c 93 63 68 61 72 93 2a 66 69 65 6c 64 29 3b 8e a1 8d 91 fd 27 91 cd 41 67 61 69 6e 2c 9b | ct,.char.*field);.....'..Again,. |
7000 | 04 7f c6 74 68 65 96 04 54 4d 0c 72 73 74 93 6f 6e 65 93 69 73 93 75 73 65 64 93 66 6f 72 93 6e | ...the..TM.rst.one.is.used.for.n |
7020 | 90 b2 21 75 6d 65 72 69 63 93 69 6e 64 69 63 65 73 2c 98 77 68 69 6c 65 93 74 68 65 93 73 65 63 | ..!umeric.indices,.while.the.sec |
7040 | 6f 6e 64 93 63 61 6e 93 62 90 4d de 65 93 75 73 65 64 93 66 6f 72 93 61 6e 90 b2 21 79 93 73 74 | ond.can.b.M.e.used.for.an..!y.st |
7060 | 72 69 6e 67 8e a6 8d 91 fd 27 91 69 6e 64 65 78 2e 8e 9f 1d 43 38 8d 8d 91 fd 27 91 db 35 2e 34 | ring.....'.index....C8....'..5.4 |
7080 | 8e 91 1b e7 91 43 61 6c 6c 69 6e 67 96 04 80 00 4c 75 61 93 46 91 fe e0 00 75 6e 63 74 69 6f 6e | .....Calling....Lua.F....unction |
70a0 | 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 46 91 ff 16 65 75 6e 63 74 69 6f 6e 73 96 02 bc bb 64 65 0c | s........'..F...eunctions....de. |
70c0 | 6e 65 64 93 69 6e 93 4c 75 61 93 62 90 b2 21 79 93 61 93 6d 6f 9a 4d de 64 75 6c 65 93 65 78 65 | ned.in.Lua.b..!y.a.mo.M.dule.exe |
70e0 | 63 75 74 65 64 93 77 69 74 68 93 d3 64 6f 66 69 6c 65 93 cd 6f 72 93 d3 64 6f 73 74 72 69 6e 67 | cuted.with..dofile..or..dostring |
7100 | 93 cd 63 61 6e 93 62 98 65 93 63 61 6c 6c 65 64 93 66 72 6f 6d 93 74 68 65 8e a6 8d 91 fd 27 91 | ..can.b.e.called.from.the.....'. |
7120 | 68 6f 73 74 96 03 f4 6a 70 72 6f 67 72 61 6d 2e 91 05 c7 e9 54 68 69 73 93 69 73 93 64 6f 6e 65 | host...jprogram.....This.is.done |
7140 | 93 75 73 69 6e 67 93 74 68 65 93 66 6f 6c 6c 6f 9a b2 21 77 69 6e 67 93 70 72 6f 74 6f 90 4d de | .using.the.follo..!wing.proto.M. |
7160 | 63 6f 6c 3a 91 05 79 e5 0c 72 73 74 2c 91 04 07 eb 74 68 65 93 61 72 67 75 6d 65 6e 98 74 73 93 | col:..y..rst,....the.argumen.ts. |
7180 | 74 6f 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 8e a6 8d 91 fd 27 91 61 72 65 96 04 eb 45 70 75 73 | to.the.function.....'.are...Epus |
71a0 | 68 65 64 93 6f 6e 9a b2 21 74 6f 93 74 68 65 93 4c 75 61 93 73 74 61 63 98 6b 93 28 73 65 65 93 | hed.on..!to.the.Lua.stac.k.(see. |
71c0 | 53 65 63 74 69 6f 6e 93 35 2e 32 29 2c 9b 05 3c 7c 69 6e 93 64 69 72 65 63 74 93 6f 72 64 65 72 | Section.5.2),..<|in.direct.order |
71e0 | 2c 98 69 2e 65 2e 2c 98 74 68 65 93 0c 72 73 74 93 61 72 67 75 6d 65 6e 90 b2 21 74 93 69 73 8e | ,.i.e.,.the..rst.argumen..!t.is. |
7200 | a6 8d 91 fd 27 91 70 75 73 68 65 64 96 03 a6 66 0c 72 73 74 2e 91 04 dd dd 54 68 65 6e 2c 93 74 | ....'.pushed...f.rst.....Then,.t |
7220 | 68 65 93 66 75 6e 63 74 69 6f 6e 93 69 73 93 63 61 6c 6c 65 64 93 75 73 69 6e 67 3a 8e a1 8d 91 | he.function.is.called.using:.... |
7240 | fd 27 91 d3 69 6e 74 91 44 fb f8 6c 75 61 5f 63 61 6c 6c 91 61 ba 4a 28 63 68 61 72 96 05 bf aa | .'..int.D..lua_call.a.J(char.... |
7260 | 2a 66 75 6e 63 74 69 6f 6e 6e 61 6d 65 2c 93 69 6e 74 93 6e 70 61 72 61 6d 29 3b 8e a1 8d 91 fd | *functionname,.int.nparam);..... |
7280 | 27 91 cd 77 68 65 72 65 96 03 ee 5a 74 68 65 93 73 65 63 6f 6e 64 93 61 72 67 75 6d 65 6e 9a b2 | '..where...Zthe.second.argumen.. |
72a0 | 21 74 93 28 d3 6e 70 61 72 61 6d cd 29 93 69 73 93 74 68 65 93 6e 98 75 6d 98 62 90 4d de 65 72 | !t.(.nparam.).is.the.n.um.b.M.er |
72c0 | 93 6f 66 93 76 91 ff 64 44 61 6c 75 65 73 93 70 75 73 68 65 64 93 6f 6e 98 74 6f 93 74 68 65 93 | .of.v..dDalues.pushed.on.to.the. |
72e0 | 73 74 61 63 98 6b 2e 91 05 b5 b8 46 69 6e 61 6c 6c 79 91 ff 16 65 2c 8e a6 8d 91 fd 27 91 74 68 | stac.k.....Finally...e,.....'.th |
7300 | 65 96 04 77 83 72 65 74 75 72 6e 65 64 93 76 91 ff 64 44 61 6c 75 65 73 93 28 61 93 4c 75 61 93 | e..w.returned.v..dDalues.(a.Lua. |
7320 | 66 75 6e 63 74 69 6f 6e 93 6d 61 9a b2 21 79 93 72 65 74 75 72 6e 93 6d 61 6e 98 79 93 76 91 ff | function.ma..!y.return.man.y.v.. |
7340 | 64 44 61 6c 75 65 73 29 93 61 72 65 93 70 95 4d de 6f 70 70 93 65 64 96 04 77 83 66 72 6f 6d 93 | dDalues).are.p.M.opp.ed..w.from. |
7360 | 74 68 65 93 73 74 61 63 98 6b 93 69 6e 8e a6 8d 91 fd 27 91 72 65 76 9a b2 21 65 72 73 65 96 03 | the.stac.k.in.....'.rev..!erse.. |
7380 | a6 66 6f 72 64 65 72 2c 93 69 2e 65 2e 2c 93 74 68 65 93 6c 61 73 74 93 72 65 73 75 6c 74 93 69 | .forder,.i.e.,.the.last.result.i |
73a0 | 73 93 70 95 4d de 6f 70 70 93 65 64 96 03 a6 66 0c 72 73 74 2e 91 04 dd dd 50 98 6f 70 70 69 6e | s.p.M.opp.ed...f.rst.....P.oppin |
73c0 | 67 93 69 73 93 64 6f 6e 65 93 77 69 74 68 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 8e a1 8d 91 fd | g.is.done.with.the.function..... |
73e0 | 27 91 d3 6c 75 61 5f 4f 62 6a 65 63 74 91 1c be 52 6c 75 61 5f 70 6f 70 91 67 79 f4 28 76 6f 69 | '..lua_Object...Rlua_pop.gy.(voi |
7400 | 64 29 3b 8e a1 8d 91 fd 27 91 cd 57 68 65 6e 96 03 a6 66 74 68 65 72 65 93 61 72 65 93 6e 6f 93 | d);.....'..When...fthere.are.no. |
7420 | 6d 6f 72 65 93 72 65 73 75 6c 74 73 93 74 6f 93 62 9a 4d de 65 93 70 98 6f 70 70 98 65 64 2c 93 | more.results.to.b.M.e.p.opp.ed,. |
7440 | 74 68 69 73 93 66 75 6e 63 74 69 6f 6e 93 72 65 74 75 72 6e 73 93 30 2e 8e a6 8d 91 0e 27 91 41 | this.function.returns.0......'.A |
7460 | 6e 96 03 a6 66 65 78 61 6d 70 6c 65 93 6f 66 93 43 93 63 6f 90 4d de 64 65 93 63 61 6c 6c 69 6e | n...fexample.of.C.co.M.de.callin |
7480 | 67 93 61 93 4c 75 61 93 66 75 6e 63 74 69 6f 6e 93 69 73 93 73 68 6f 90 b2 21 77 6e 93 69 6e 93 | g.a.Lua.function.is.sho..!wn.in. |
74a0 | 37 2e 35 2e 8e 9f 1d 43 38 8d 8d 91 fd 27 91 db 35 2e 35 8e 91 1b e7 91 43 91 04 80 00 46 91 fe | 7.5....C8....'..5.5.....C....F.. |
74c0 | e0 00 75 6e 63 74 69 6f 6e 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 54 91 ff 16 65 6f 96 03 a6 66 72 | ..unctions........'..T...eo...fr |
74e0 | 65 67 69 73 74 65 72 93 61 93 43 93 66 75 6e 63 74 69 6f 6e 93 74 6f 93 4c 75 61 2c 93 74 68 65 | egister.a.C.function.to.Lua,.the |
7500 | 72 65 93 69 73 93 74 68 65 93 66 6f 6c 6c 6f 90 b2 21 77 69 6e 67 93 6d 61 63 72 6f 3a 8e a1 8d | re.is.the.follo..!wing.macro:... |
7520 | 91 fd 27 91 d3 23 64 65 66 69 6e 65 96 05 bf aa 6c 75 61 5f 72 65 67 69 73 74 65 72 28 6e 2c 66 | ..'..#define....lua_register(n,f |
7540 | 29 91 28 3d a6 28 6c 75 61 5f 70 75 73 68 63 66 75 6e 63 74 69 6f 6e 28 66 29 2c 93 6c 75 61 5f | ).(=.(lua_pushcfunction(f),.lua_ |
7560 | 73 74 6f 72 65 67 6c 6f 62 61 6c 28 6e 29 29 8e a6 8d 91 fd 27 91 2f 2a 96 05 bf aa 63 68 61 72 | storeglobal(n)).....'./*....char |
7580 | 93 2a 6e 3b 91 33 bc fa 2a 2f 8e a6 8d 91 fd 27 91 2f 2a 96 05 bf aa 6c 75 61 5f 43 46 75 6e 63 | .*n;.3..*/.....'./*....lua_CFunc |
75a0 | 74 69 6f 6e 93 66 3b 93 2a 2f 8e a1 8d 91 fd 27 91 cd 77 68 69 63 95 b2 21 68 9b 04 7f 80 72 65 | tion.f;.*/.....'..whic..!h....re |
75c0 | 63 65 69 76 93 65 73 98 74 68 65 98 6e 61 6d 65 98 74 68 65 98 66 75 6e 63 74 69 6f 6e 98 77 69 | ceiv.es.the.name.the.function.wi |
75e0 | 6c 6c 98 68 61 93 76 93 65 98 69 6e 98 4c 75 61 2c 91 04 b5 c6 61 6e 64 98 61 98 70 90 4d de 6f | ll.ha.v.e.in.Lua,....and.a.p.M.o |
7600 | 69 6e 93 74 65 72 98 74 6f 98 74 68 65 98 66 75 6e 63 74 69 6f 6e 2e 91 07 69 2b 54 68 69 73 8e | in.ter.to.the.function...i+This. |
7620 | a6 8d 91 fd 27 91 70 90 4d de 6f 69 6e 95 b2 21 74 65 72 9b 03 a6 66 6d 93 75 73 74 98 68 61 93 | ....'.p.M.oin..!ter...fm.ust.ha. |
7640 | 76 93 65 98 74 93 79 70 90 4d de 65 98 d3 6c 75 61 5f 43 46 75 6e 63 74 69 6f 6e cd 2c 98 77 68 | v.e.t.yp.M.e..lua_CFunction.,.wh |
7660 | 69 63 93 68 98 69 73 98 64 65 0c 6e 65 64 98 61 73 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 31 30 8e | ic.h.is.de.ned.as....s.....t.10. |
7680 | 8e 8c 8b 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
76a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 6a ed a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d | .............j.....c...2......|. |
76c0 | a0 fd 75 e5 6b 8d 91 fd 27 91 d3 74 79 70 65 64 65 66 96 05 bf aa 76 6f 69 64 93 28 2a 6c 75 61 | ..u.k...'..typedef....void.(*lua |
76e0 | 5f 43 46 75 6e 63 74 69 6f 6e 29 93 28 76 6f 69 64 29 3b 8e a9 16 99 9a 8d 91 fd 27 91 cd 74 68 | _CFunction).(void);........'..th |
7700 | 61 74 96 03 a6 66 69 73 2c 93 61 93 70 90 4d de 6f 69 6e 90 b2 21 74 65 72 93 74 6f 93 61 93 66 | at...fis,.a.p.M.oin..!ter.to.a.f |
7720 | 75 6e 63 74 69 6f 6e 93 77 69 74 68 93 6e 6f 93 70 61 72 61 6d 65 74 65 72 73 93 61 6e 64 93 6e | unction.with.no.parameters.and.n |
7740 | 6f 93 72 65 73 75 6c 74 73 2e 8e a4 0d 99 9a 8d 91 0e 27 91 49 6e 96 04 6c 88 6f 72 64 65 72 93 | o.results.........'.In..l.order. |
7760 | 74 6f 93 63 6f 6d 6d 9a b2 21 75 6e 69 63 61 74 65 93 70 72 6f 70 90 4d de 65 72 6c 79 93 77 69 | to.comm..!unicate.prop.M.erly.wi |
7780 | 74 68 93 4c 75 61 2c 91 04 9e 10 61 93 43 91 04 6c 55 66 75 6e 63 74 69 6f 6e 93 6d 98 75 73 74 | th.Lua,....a.C..lUfunction.m.ust |
77a0 | 93 66 6f 6c 6c 6f 98 77 93 61 93 70 72 6f 74 6f 90 4d de 63 6f 6c 2c 91 04 9e 10 77 68 69 63 98 | .follo.w.a.proto.M.col,....whic. |
77c0 | 68 8e a1 8d 91 fd 27 91 64 65 0c 6e 65 73 96 03 a6 66 74 68 65 93 77 95 b2 21 61 93 79 96 03 a6 | h.....'.de.nes...fthe.w..!a.y... |
77e0 | 66 70 61 72 61 6d 65 74 65 72 73 93 61 6e 64 93 72 65 73 75 6c 74 73 93 61 72 65 93 70 61 73 73 | fparameters.and.results.are.pass |
7800 | 65 64 2e 8e a1 8d 91 0e 27 91 54 91 ff 16 65 6f 96 03 a6 66 61 63 63 65 73 73 93 69 74 73 93 61 | ed......'.T...eo...faccess.its.a |
7820 | 72 67 75 6d 65 6e 90 b2 21 74 73 2c 93 61 93 43 93 66 75 6e 63 74 69 6f 6e 93 63 61 6c 6c 73 3a | rgumen..!ts,.a.C.function.calls: |
7840 | 8e a6 8d 91 fd 27 91 d3 6c 75 61 5f 4f 62 6a 65 63 74 91 1c be 52 6c 75 61 5f 67 65 74 70 61 72 | .....'..lua_Object...Rlua_getpar |
7860 | 61 6d 91 4a bb a2 28 69 6e 74 91 05 bf aa 6e 75 6d 62 65 72 29 3b 8e a6 8d 91 fd 27 91 6e 75 6d | am.J..(int....number);.....'.num |
7880 | 62 65 72 96 04 4c 72 cd 73 74 61 72 74 73 93 77 69 74 68 93 31 93 74 6f 93 67 65 74 93 74 68 65 | ber..Lr.starts.with.1.to.get.the |
78a0 | 93 0c 72 73 74 93 61 72 67 75 6d 65 6e 9a b2 21 74 2e 91 06 d0 02 57 68 65 6e 93 63 61 6c 6c 65 | ..rst.argumen..!t.....When.calle |
78c0 | 64 93 77 69 74 68 93 61 93 6e 98 75 6d 98 62 90 4d de 65 72 93 6c 61 72 67 65 72 93 74 68 61 6e | d.with.a.n.um.b.M.er.larger.than |
78e0 | 93 74 68 65 8e a1 8d 91 fd 27 91 61 63 74 75 61 6c 9b 02 a6 4a 6e 95 b2 21 75 6d 93 62 90 4d de | .the.....'.actual...Jn..!um.b.M. |
7900 | 65 72 98 6f 66 98 61 72 67 75 6d 65 6e 93 74 73 2c 91 02 d9 83 74 68 69 73 98 66 75 6e 63 74 69 | er.of.argumen.ts,....this.functi |
7920 | 6f 6e 98 72 65 74 75 72 6e 73 98 30 2e 91 04 88 7f 49 6e 98 74 68 69 73 98 77 93 61 93 79 91 ff | on.returns.0.....In.this.w.a.y.. |
7940 | 16 65 2c 91 02 d9 83 69 74 98 69 73 98 70 90 4d de 6f 73 73 69 62 6c 65 98 74 6f 98 77 72 69 74 | .e,....it.is.p.M.ossible.to.writ |
7960 | 65 98 66 75 6e 63 74 69 6f 6e 73 8e a1 8d 91 fd 27 91 74 68 61 74 96 03 a6 66 77 9a b2 21 6f 72 | e.functions.....'.that...fw..!or |
7980 | 6b 93 77 69 74 68 93 61 93 76 91 ff 64 44 61 72 69 61 62 6c 65 93 6e 98 75 6d 98 62 90 4d de 65 | k.with.a.v..dDariable.n.um.b.M.e |
79a0 | 72 93 6f 66 93 70 61 72 61 6d 65 74 65 72 73 2e 8e a1 8d 91 0e 27 91 54 91 ff 16 65 6f 96 04 51 | r.of.parameters......'.T...eo..Q |
79c0 | af 72 65 74 75 72 6e 93 76 91 ff 64 44 61 6c 75 65 73 2c 91 04 7c 81 61 93 43 91 04 51 83 66 75 | .return.v..dDalues,..|.a.C..Q.fu |
79e0 | 6e 63 74 69 6f 6e 93 6a 75 73 74 93 70 75 73 68 65 73 93 74 68 65 6d 93 6f 6e 9a b2 21 74 6f 93 | nction.just.pushes.them.on..!to. |
7a00 | 74 68 65 93 73 74 61 63 98 6b 2c 91 04 7c 81 69 6e 93 64 69 72 65 63 74 93 6f 72 64 65 72 3b 91 | the.stac.k,..|.in.direct.order;. |
7a20 | 04 a7 53 73 65 65 93 53 65 63 2d 8e a1 8d 91 fd 27 91 74 69 6f 6e 96 03 a6 66 35 2e 32 2e 91 04 | ..Ssee.Sec-.....'.tion...f5.2... |
7a40 | dd dd 4c 69 6b 9a b2 21 65 93 61 93 4c 75 61 93 66 75 6e 63 74 69 6f 6e 2c 93 61 93 43 93 66 75 | ..Lik..!e.a.Lua.function,.a.C.fu |
7a60 | 6e 63 74 69 6f 6e 93 63 61 6c 6c 65 64 93 62 98 79 93 4c 75 61 93 63 61 6e 93 61 6c 73 6f 93 72 | nction.called.b.y.Lua.can.also.r |
7a80 | 65 74 75 72 6e 93 6d 61 6e 98 79 93 72 65 73 75 6c 74 73 2e 8e a1 8d 91 0e 27 91 53 65 63 74 69 | eturn.man.y.results......'.Secti |
7aa0 | 6f 6e 96 03 a6 66 37 2e 34 93 70 72 65 73 65 6e 90 b2 21 74 73 93 61 6e 93 65 78 61 6d 70 6c 65 | on...f7.4.presen..!ts.an.example |
7ac0 | 93 6f 66 93 61 93 43 66 75 6e 63 74 69 6f 6e 2e 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 35 2e 36 8e | .of.a.Cfunction....R.....'..5.6. |
7ae0 | 91 1b e7 91 45 72 72 6f 72 91 04 80 00 48 61 6e 64 6c 69 6e 67 8e 9f 14 ab ff 8d 91 fd 27 91 cd | ....Error....Handling........'.. |
7b00 | 57 68 65 6e 65 76 90 b2 21 65 72 96 03 7e 39 61 6e 93 65 72 72 6f 72 93 6f 90 4d de 63 63 75 72 | Whenev..!er..~9an.error.o.M.ccur |
7b20 | 73 93 64 75 72 69 6e 67 93 4c 75 61 93 63 6f 6d 70 69 6c 61 74 69 6f 6e 93 6f 72 93 65 78 65 63 | s.during.Lua.compilation.or.exec |
7b40 | 75 74 69 6f 6e 2c 9b 03 86 42 61 6e 93 65 72 72 6f 72 93 72 6f 75 74 69 6e 65 93 69 73 93 63 61 | ution,...Ban.error.routine.is.ca |
7b60 | 6c 6c 65 64 2c 98 61 6e 64 8e a1 8d 91 fd 27 91 74 68 65 96 03 a6 66 63 6f 72 72 65 73 70 90 4d | lled,.and.....'.the...fcorresp.M |
7b80 | de 6f 6e 64 69 6e 67 93 d3 6c 75 61 5f 64 6f 66 69 6c 65 93 cd 6f 72 93 d3 6c 75 61 5f 64 6f 73 | .onding..lua_dofile..or..lua_dos |
7ba0 | 74 72 69 6e 67 93 cd 69 73 93 74 65 72 6d 69 6e 61 74 65 64 93 72 65 74 75 72 6e 69 6e 67 93 61 | tring..is.terminated.returning.a |
7bc0 | 6e 93 65 72 72 6f 72 93 63 6f 6e 64 69 74 69 6f 6e 2e 8e a1 8d 91 0e 27 91 54 68 65 96 04 d9 ad | n.error.condition......'.The.... |
7be0 | 6f 6e 6c 79 93 61 72 67 75 6d 65 6e 90 b2 21 74 93 74 6f 93 74 68 65 93 65 72 72 6f 72 93 72 6f | only.argumen..!t.to.the.error.ro |
7c00 | 75 74 69 6e 65 93 69 73 93 61 93 73 74 72 69 6e 67 93 64 65 73 63 72 69 62 69 6e 67 93 74 68 65 | utine.is.a.string.describing.the |
7c20 | 93 65 72 72 6f 72 93 61 6e 64 93 73 6f 6d 65 93 65 78 74 72 61 8e a1 8d 91 fd 27 91 69 6e 66 6f | .error.and.some.extra.....'.info |
7c40 | 72 6d 61 74 69 6f 6e 73 2c 91 03 58 3b 6c 69 6b 95 b2 21 65 9b 03 44 b0 63 75 72 72 65 6e 93 74 | rmations,..X;lik..!e..D.curren.t |
7c60 | 98 6c 69 6e 65 98 28 77 68 65 6e 98 74 68 65 98 65 72 72 6f 72 98 69 73 98 61 74 98 63 6f 6d 70 | .line.(when.the.error.is.at.comp |
7c80 | 69 6c 61 74 69 6f 6e 29 98 6f 72 98 63 75 72 72 65 6e 93 74 98 66 75 6e 63 74 69 6f 6e 98 28 77 | ilation).or.curren.t.function.(w |
7ca0 | 68 65 6e 98 74 68 65 8e a1 8d 91 fd 27 91 65 72 72 6f 72 96 04 9c 92 69 73 93 61 74 93 65 78 65 | hen.the.....'.error....is.at.exe |
7cc0 | 63 75 74 69 6f 6e 29 2e 91 07 c0 60 54 68 65 93 73 74 61 6e 64 61 72 64 93 65 72 72 6f 72 93 72 | cution)....`The.standard.error.r |
7ce0 | 6f 75 74 69 6e 65 93 6f 6e 6c 79 93 70 72 69 6e 90 b2 21 74 73 93 74 68 69 73 93 6d 65 73 73 61 | outine.only.prin..!ts.this.messa |
7d00 | 67 65 93 69 6e 93 74 68 65 93 73 74 61 6e 64 61 72 64 8e a1 8d 91 fd 27 91 65 72 72 6f 72 96 03 | ge.in.the.standard.....'.error.. |
7d20 | a6 66 6f 75 74 70 75 74 2e 91 04 dd dd 49 66 93 6e 65 65 64 65 64 2c 93 69 74 93 69 73 93 70 90 | .foutput.....If.needed,.it.is.p. |
7d40 | 4d de 6f 73 73 69 62 6c 65 93 74 6f 93 73 65 74 93 61 6e 6f 74 68 65 72 93 65 72 72 6f 72 93 72 | M.ossible.to.set.another.error.r |
7d60 | 6f 75 74 69 6e 65 2c 93 75 73 69 6e 67 93 74 68 65 93 66 75 6e 63 74 69 6f 6e 3a 8e a6 8d 91 fd | outine,.using.the.function:..... |
7d80 | 27 91 d3 76 6f 69 64 91 3f 3c 4e 6c 75 61 5f 65 72 72 6f 72 66 75 6e 63 74 69 6f 6e 91 2d fd 50 | '..void.?<Nlua_errorfunction.-.P |
7da0 | 28 76 6f 69 64 96 05 bf aa 28 2a 66 6e 29 93 28 63 68 61 72 93 2a 73 29 29 3b 8e a6 8d 91 fd 27 | (void....(*fn).(char.*s));.....' |
7dc0 | 91 cd 77 68 6f 73 65 96 03 a6 66 61 72 67 75 6d 65 6e 90 b2 21 74 93 69 73 93 74 68 65 93 61 64 | ..whose...fargumen..!t.is.the.ad |
7de0 | 64 72 65 73 73 93 6f 66 93 74 68 65 93 6e 65 77 93 65 72 72 6f 72 93 66 75 6e 63 74 69 6f 6e 2e | dress.of.the.new.error.function. |
7e00 | 8e 9f 22 80 41 8d 8d 91 fd 27 91 e2 36 8e 91 15 fe 90 50 72 65 64 65 0c 6e 65 64 96 05 85 1c 46 | ..".A....'..6.....Prede.ned....F |
7e20 | 91 fe 9e b8 75 6e 63 74 69 6f 6e 73 93 61 6e 64 93 4c 69 62 72 61 72 69 65 73 8e 9f 18 71 8b 8d | ....unctions.and.Libraries...q.. |
7e40 | 91 fd 27 91 cd 54 68 65 96 04 33 db 73 65 74 93 6f 66 93 70 72 65 64 65 0c 6e 65 64 93 66 75 6e | ..'..The..3.set.of.prede.ned.fun |
7e60 | 63 74 69 6f 6e 73 93 69 6e 93 4c 75 61 93 69 73 93 73 6d 61 6c 6c 93 62 75 74 93 70 90 4d de 6f | ctions.in.Lua.is.small.but.p.M.o |
7e80 | 95 b2 21 77 93 65 72 66 75 6c 2e 91 06 86 3c 4d 6f 73 74 96 04 33 db 6f 66 93 74 68 65 6d 93 70 | ..!w.erful....<Most..3.of.them.p |
7ea0 | 72 6f 90 b2 21 76 69 64 65 93 66 65 61 74 75 72 65 73 8e a1 8d 91 fd 27 91 74 68 61 74 96 03 71 | ro..!vide.features.....'.that..q |
7ec0 | 28 61 6c 6c 6f 9a b2 21 77 73 93 73 6f 6d 65 93 64 65 67 72 65 65 93 6f 66 93 72 65 0d 65 78 69 | (allo..!ws.some.degree.of.re.exi |
7ee0 | 76 69 74 98 79 93 69 6e 93 74 68 65 93 6c 61 6e 67 75 61 67 65 2e 91 04 cc 1e 53 75 63 98 68 93 | vit.y.in.the.language.....Suc.h. |
7f00 | 66 65 61 74 75 72 65 73 93 63 61 6e 6e 6f 74 93 62 90 4d de 65 93 73 69 6d 98 75 6c 61 74 65 64 | features.cannot.b.M.e.sim.ulated |
7f20 | 93 77 69 74 68 8e a1 8d 91 fd 27 91 74 68 65 96 03 a6 66 72 65 73 74 93 6f 66 93 74 68 65 93 4c | .with.....'.the...frest.of.the.L |
7f40 | 61 6e 67 75 61 67 65 93 6e 6f 72 93 77 69 74 68 93 74 68 65 93 73 74 61 6e 64 61 72 64 93 41 50 | anguage.nor.with.the.standard.AP |
7f60 | 49 2e 8e a1 8d 91 0e 27 91 54 68 65 96 04 f5 7e 6c 69 62 72 61 72 69 65 73 2c 9b 05 49 43 6f 6e | I......'.The...~libraries,..ICon |
7f80 | 93 74 68 65 93 6f 74 68 65 72 93 68 61 6e 64 2c 98 70 72 6f 9a b2 21 76 69 64 65 93 75 73 65 66 | .the.other.hand,.pro..!vide.usef |
7fa0 | 75 6c 93 72 6f 75 74 69 6e 65 73 93 74 68 61 74 93 61 72 65 93 69 6d 70 6c 65 6d 65 6e 98 74 65 | ul.routines.that.are.implemen.te |
7fc0 | 64 93 64 69 72 65 63 74 6c 79 8e a1 8d 91 fd 27 91 74 68 72 6f 75 67 68 96 03 0c 49 74 68 65 93 | d.directly.....'.through...Ithe. |
7fe0 | 73 74 61 6e 64 61 72 64 93 41 50 49 2e 93 54 68 65 72 65 66 6f 72 65 2c 9b 03 2b 1c 74 68 65 79 | standard.API..Therefore,..+.they |
8000 | 93 61 72 65 93 6e 6f 74 93 6e 65 63 65 73 73 61 72 79 93 74 6f 93 74 68 65 93 6c 61 6e 67 75 61 | .are.not.necessary.to.the.langua |
8020 | 67 65 2c 98 61 6e 64 93 61 72 65 93 70 72 6f 90 b2 21 76 69 64 65 64 8e a1 8d 91 fd 27 91 61 73 | ge,.and.are.pro..!vided.....'.as |
8040 | 96 03 a6 66 73 65 70 61 72 61 74 65 64 93 43 93 6d 6f 90 4d de 64 75 6c 65 73 2e 91 04 dd dd 43 | ...fseparated.C.mo.M.dules.....C |
8060 | 75 72 72 65 6e 90 b2 21 74 6c 79 93 74 68 65 72 65 93 61 72 65 93 74 68 72 65 65 93 6c 69 62 72 | urren..!tly.there.are.three.libr |
8080 | 61 72 69 65 73 3a 8e a6 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 87 95 cd 73 74 72 69 6e 67 | aries:.........a..........string |
80a0 | 91 03 a6 66 6d 61 6e 69 70 75 6c 61 74 69 6f 6e 3b 8e a6 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e | ...fmanipulation;.........a..... |
80c0 | 91 18 87 95 cd 6d 61 74 68 65 6d 61 74 69 63 61 6c 96 03 a6 66 66 75 6e 63 74 69 6f 6e 73 93 28 | .....mathematical...ffunctions.( |
80e0 | 73 69 6e 2c 93 63 6f 73 2c 93 65 74 63 29 3b 8e a6 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 | sin,.cos,.etc);.........a....... |
8100 | 87 95 cd 69 6e 70 75 74 96 03 a6 66 61 6e 64 93 6f 75 74 70 75 74 3b 8e 9f 1d 52 85 8d 8d 91 fd | ...input...fand.output;...R..... |
8120 | 27 91 db 36 2e 31 8e 91 1b e7 91 50 72 65 64 65 0c 6e 65 64 91 04 80 00 46 91 fe e0 00 75 6e 63 | '..6.1.....Prede.ned....F....unc |
8140 | 74 69 6f 6e 73 8e a4 14 ab ff 8d 91 fd 27 91 d3 64 6f 66 69 6c 65 91 05 bf aa 28 66 69 6c 65 6e | tions........'..dofile....(filen |
8160 | 61 6d 65 29 8e a1 8d 91 fd 27 91 cd 54 68 69 73 96 04 d5 43 66 75 6e 63 74 69 6f 6e 93 72 65 63 | ame).....'..This...Cfunction.rec |
8180 | 65 69 76 9a b2 21 65 73 93 61 93 0c 6c 65 93 6e 61 6d 65 2c 91 05 20 f9 6f 70 90 4d de 65 6e 73 | eiv..!es.a..le.name,....op.M.ens |
81a0 | 93 69 74 93 61 6e 64 93 65 78 65 63 75 74 65 73 93 69 74 73 93 63 6f 6e 98 74 65 6e 98 74 73 93 | .it.and.executes.its.con.ten.ts. |
81c0 | 61 73 93 61 93 4c 75 61 93 6d 6f 90 4d de 64 75 6c 65 2e 91 08 6a 73 49 74 8e 9f 0d 99 9a 8d 91 | as.a.Lua.mo.M.dule...jsIt....... |
81e0 | fd 27 91 72 65 74 75 72 6e 73 96 03 a6 66 31 93 69 66 93 74 68 65 72 65 93 61 72 65 93 6e 6f 93 | .'.returns...f1.if.there.are.no. |
8200 | 65 72 72 6f 72 73 2c 93 d2 6e 69 6c 93 cd 6f 74 68 65 72 77 69 73 65 2e 8e 8e 9f 1c 73 e7 8d 92 | errors,..nil..otherwise.....s... |
8220 | 00 d8 74 d4 31 31 8e 8e 8c 8b 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ..t.11.......................... |
8240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 76 82 a0 02 cd 02 63 8d a0 fd 32 fd | ....................v.....c...2. |
8260 | 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 91 fd 27 91 d3 64 6f 73 74 72 69 6e 67 91 05 bf aa 28 73 | .....|...u.k...'..dostring....(s |
8280 | 74 72 69 6e 67 29 8e a4 14 ab ff 8d 91 fd 27 91 cd 54 68 69 73 96 03 ce b6 66 75 6e 63 74 69 6f | tring)........'..This....functio |
82a0 | 6e 93 65 78 65 63 75 74 65 73 93 61 93 67 69 76 90 b2 21 65 6e 93 73 74 72 69 6e 67 93 61 73 93 | n.executes.a.giv..!en.string.as. |
82c0 | 61 93 4c 75 61 93 6d 6f 90 4d de 64 75 6c 65 2e 91 05 56 cd 49 74 93 72 65 74 75 72 6e 73 93 31 | a.Lua.mo.M.dule...V.It.returns.1 |
82e0 | 93 69 66 93 74 68 65 72 65 93 61 72 65 93 6e 6f 93 65 72 72 6f 72 73 2c 91 03 d8 ca d2 6e 69 6c | .if.there.are.no.errors,.....nil |
8300 | 8e a9 0d 99 9a 8d 91 fd 27 91 cd 6f 74 68 65 72 77 69 73 65 2e 8e 9f 1c ec 1f 8d 91 fd 27 91 d3 | ........'..otherwise.........'.. |
8320 | 6e 65 78 74 96 05 bf aa 28 74 61 62 6c 65 2c 93 69 6e 64 65 78 29 8e a1 8d 91 fd 27 91 cd 54 68 | next....(table,.index).....'..Th |
8340 | 69 73 96 03 b7 f4 66 75 6e 63 74 69 6f 6e 93 61 6c 6c 6f 9a b2 21 77 73 93 61 93 70 72 6f 67 72 | is....function.allo..!ws.a.progr |
8360 | 61 6d 93 74 6f 93 65 6e 98 75 6d 65 72 61 74 65 93 61 6c 6c 93 0c 65 6c 64 73 93 6f 66 93 61 93 | am.to.en.umerate.all..elds.of.a. |
8380 | 74 61 62 6c 65 2e 91 05 12 86 49 74 73 93 0c 72 73 74 93 61 72 67 75 6d 65 6e 98 74 93 69 73 93 | table.....Its..rst.argumen.t.is. |
83a0 | 61 93 74 61 62 6c 65 8e a6 8d 91 fd 27 91 61 6e 64 96 03 fe b5 69 74 73 93 73 65 63 6f 6e 64 93 | a.table.....'.and....its.second. |
83c0 | 61 72 67 75 6d 65 6e 9a b2 21 74 93 69 73 93 61 6e 93 69 6e 64 65 78 93 69 6e 93 74 68 69 73 93 | argumen..!t.is.an.index.in.this. |
83e0 | 74 61 62 6c 65 3b 91 04 2a dd 74 68 69 73 93 69 6e 64 65 78 93 63 61 6e 93 62 90 4d de 65 93 61 | table;..*.this.index.can.b.M.e.a |
8400 | 93 6e 98 75 6d 98 62 90 4d de 65 72 93 6f 72 93 61 93 73 74 72 69 6e 67 2e 91 05 e6 ca 49 74 8e | .n.um.b.M.er.or.a.string.....It. |
8420 | a6 8d 91 fd 27 91 72 65 74 75 72 6e 73 96 03 7e b3 74 68 65 93 6e 65 78 74 93 69 6e 64 65 78 93 | ....'.returns..~.the.next.index. |
8440 | 6f 66 93 74 68 65 93 74 61 62 6c 65 93 61 6e 64 93 74 68 65 93 76 91 ff 64 44 61 6c 75 65 93 61 | of.the.table.and.the.v..dDalue.a |
8460 | 73 73 6f 90 4d de 63 69 61 74 65 64 93 77 69 74 68 93 74 68 65 93 69 6e 64 65 78 2e 91 04 d0 a1 | sso.M.ciated.with.the.index..... |
8480 | 57 68 65 6e 93 63 61 6c 6c 65 64 93 77 69 74 68 8e a6 8d 91 fd 27 91 d2 6e 69 6c 96 03 79 f6 cd | When.called.with.....'..nil..y.. |
84a0 | 61 73 93 69 74 73 93 73 65 63 6f 6e 64 93 61 72 67 75 6d 65 6e 90 b2 21 74 2c 91 03 82 d9 74 68 | as.its.second.argumen..!t,....th |
84c0 | 65 93 66 75 6e 63 74 69 6f 6e 93 72 65 74 75 72 6e 73 93 74 68 65 93 0c 72 73 74 93 69 6e 64 65 | e.function.returns.the..rst.inde |
84e0 | 78 93 6f 66 93 74 68 65 93 74 61 62 6c 65 93 28 61 6e 64 93 69 74 73 93 61 73 73 6f 90 4d de 63 | x.of.the.table.(and.its.asso.M.c |
8500 | 69 61 74 65 64 8e a6 8d 91 fd 27 91 76 91 ff 64 44 61 6c 75 65 29 2e 91 04 dd dd 57 68 65 6e 96 | iated.....'.v..dDalue).....When. |
8520 | 03 a6 66 63 61 6c 6c 65 64 93 77 69 74 68 93 74 68 65 93 6c 61 73 74 93 69 6e 64 65 78 2c 93 6f | ..fcalled.with.the.last.index,.o |
8540 | 72 93 77 69 74 68 93 d2 6e 69 6c 93 cd 69 6e 93 61 6e 93 65 6d 70 74 90 b2 21 79 93 74 61 62 6c | r.with..nil..in.an.empt..!y.tabl |
8560 | 65 2c 93 69 74 93 72 65 74 75 72 6e 73 93 d2 6e 69 6c cd 2e 8e a6 8d 91 0e 27 91 49 6e 96 03 d4 | e,.it.returns..nil.......'.In... |
8580 | d6 4c 75 61 93 74 68 65 72 65 93 69 73 93 6e 6f 93 64 65 63 6c 61 72 61 74 69 6f 6e 93 6f 66 93 | .Lua.there.is.no.declaration.of. |
85a0 | 0c 65 6c 64 73 3b 91 03 ec 0e 73 65 6d 61 6e 9a b2 21 74 69 63 61 6c 6c 79 91 ff 16 65 2c 91 03 | .elds;....seman..!tically...e,.. |
85c0 | e0 72 74 68 65 72 65 93 69 73 93 6e 6f 93 64 69 0b 65 72 65 6e 63 65 93 62 90 4d de 65 74 98 77 | .rthere.is.no.di.erence.b.M.et.w |
85e0 | 98 65 65 6e 93 61 93 0c 65 6c 64 8e a6 8d 91 fd 27 91 6e 6f 74 96 04 47 2e 70 72 65 73 65 6e 90 | .een.a..eld.....'.not..G.presen. |
8600 | b2 21 74 93 69 6e 93 61 93 74 61 62 6c 65 93 6f 72 93 61 93 0c 65 6c 64 93 77 69 74 68 93 76 91 | .!t.in.a.table.or.a..eld.with.v. |
8620 | ff 64 44 61 6c 75 65 93 d2 6e 69 6c cd 2e 91 06 c0 36 54 68 65 72 65 66 6f 72 65 2c 91 04 6f 60 | .dDalue..nil.....6Therefore,..o` |
8640 | 74 68 65 93 66 75 6e 63 74 69 6f 6e 93 6f 6e 6c 79 93 63 6f 6e 73 69 64 65 72 73 93 0c 65 6c 64 | the.function.only.considers..eld |
8660 | 73 8e a6 8d 91 fd 27 91 77 69 74 68 96 03 ac 13 6e 6f 6e 93 6e 69 6c 93 76 91 ff 64 44 61 6c 75 | s.....'.with....non.nil.v..dDalu |
8680 | 65 73 2e 91 04 ee e3 54 68 65 93 6f 72 64 65 72 93 74 68 65 93 69 6e 64 69 63 65 73 93 61 72 65 | es.....The.order.the.indices.are |
86a0 | 93 65 6e 90 b2 21 75 6d 65 72 61 74 65 64 93 61 72 65 93 6e 6f 74 93 73 70 90 4d de 65 63 69 0c | .en..!umerated.are.not.sp.M.eci. |
86c0 | 65 64 2c 91 03 ad 7e d0 65 76 65 6e 96 03 f0 22 66 6f 72 93 6e 75 6d 65 72 69 63 8e a6 8d 91 fd | ed,...~.even..."for.numeric..... |
86e0 | 27 91 69 6e 64 69 63 91 ff 70 b9 65 73 cd 2e 8e a6 8d 91 0e 27 91 53 65 65 96 03 a6 66 53 65 63 | '.indic..p.es.......'.See...fSec |
8700 | 74 69 6f 6e 93 37 2e 31 93 66 6f 72 93 61 6e 93 65 78 61 6d 70 6c 65 93 6f 66 93 74 68 65 93 75 | tion.7.1.for.an.example.of.the.u |
8720 | 73 65 93 6f 66 93 74 68 69 73 93 66 75 6e 63 74 69 6f 6e 2e 8e 9f 1c ec 1f 8d 91 fd 27 91 d3 6e | se.of.this.function.........'..n |
8740 | 65 78 74 76 61 72 91 05 bf aa 28 6e 61 6d 65 29 8e a1 8d 91 fd 27 91 cd 54 68 69 73 96 03 28 c5 | extvar....(name).....'..This..(. |
8760 | 66 75 6e 63 74 69 6f 6e 93 69 73 93 73 69 6d 69 6c 61 72 93 74 6f 93 74 68 65 93 66 75 6e 63 74 | function.is.similar.to.the.funct |
8780 | 69 6f 6e 93 d3 6e 65 78 74 cd 2c 91 03 41 e5 62 75 74 93 69 74 93 69 74 65 72 61 74 65 73 93 6f | ion..next.,..A.but.it.iterates.o |
87a0 | 95 b2 21 76 93 65 72 96 03 28 c5 74 68 65 93 67 6c 6f 62 61 6c 93 76 91 ff 64 44 61 72 69 61 62 | ..!v.er..(.the.global.v..dDariab |
87c0 | 6c 65 73 2e 91 04 b3 fd 49 74 73 93 73 69 6e 67 6c 65 8e a6 8d 91 fd 27 91 61 72 67 75 6d 65 6e | les.....Its.single.....'.argumen |
87e0 | 90 b2 21 74 96 04 8f f0 69 73 93 74 68 65 93 6e 61 6d 65 93 6f 66 93 61 93 67 6c 6f 62 61 6c 93 | ..!t....is.the.name.of.a.global. |
8800 | 76 91 ff 64 44 61 72 69 61 62 6c 65 2c 9b 04 ca 53 6f 72 93 d2 6e 69 6c 93 cd 74 6f 93 67 65 74 | v..dDariable,...Sor..nil..to.get |
8820 | 93 61 93 0c 72 73 74 93 6e 61 6d 65 2e 91 07 9a 7c 53 69 6d 69 6c 61 72 6c 79 93 74 6f 93 d3 6e | .a..rst.name....|Similarly.to..n |
8840 | 65 78 74 cd 2c 98 69 74 8e a6 8d 91 fd 27 91 72 65 74 75 72 6e 73 96 03 fd 4d 74 68 65 93 6e 61 | ext.,.it.....'.returns...Mthe.na |
8860 | 6d 65 93 6f 66 93 61 6e 6f 74 68 65 72 93 76 9b ff 64 44 61 72 69 61 62 6c 65 93 61 6e 64 93 69 | me.of.another.v..dDariable.and.i |
8880 | 74 73 93 76 98 61 6c 75 65 2c 91 04 13 06 6f 72 93 d2 6e 69 6c 93 cd 69 66 93 74 68 65 72 65 93 | ts.v.alue,....or..nil..if.there. |
88a0 | 61 72 65 93 6e 6f 93 6d 6f 72 65 93 76 98 61 72 69 61 62 6c 65 73 2e 91 05 e2 91 53 65 65 8e a6 | are.no.more.v.ariables.....See.. |
88c0 | 8d 91 fd 27 91 53 65 63 74 69 6f 6e 96 03 a6 66 37 2e 31 93 66 6f 72 93 61 6e 93 65 78 61 6d 70 | ...'.Section...f7.1.for.an.examp |
88e0 | 6c 65 93 6f 66 93 74 68 65 93 75 73 65 93 6f 66 93 74 68 69 73 93 66 75 6e 63 74 69 6f 6e 2e 8e | le.of.the.use.of.this.function.. |
8900 | 9f 1c ec 1f 8d 91 fd 27 91 d3 70 72 69 6e 74 96 05 bf aa 28 65 31 2c 93 65 32 2c 93 2e 2e 2e 29 | .......'..print....(e1,.e2,....) |
8920 | 8e a1 8d 91 fd 27 91 cd 54 68 69 73 96 02 ec aa 66 75 6e 63 74 69 6f 6e 93 72 65 63 65 69 76 9a | .....'..This....function.receiv. |
8940 | b2 21 65 73 93 61 6e 98 79 93 6e 98 75 6d 98 62 90 4d de 65 72 93 6f 66 93 61 72 67 75 6d 65 6e | .!es.an.y.n.um.b.M.er.of.argumen |
8960 | 98 74 73 2c 91 03 11 d0 61 6e 64 93 70 72 69 6e 98 74 73 93 74 68 65 69 72 93 76 91 ff 64 44 61 | .ts,....and.prin.ts.their.v..dDa |
8980 | 6c 75 65 73 93 69 6e 93 61 93 72 65 61 73 6f 6e 61 62 6c 65 93 66 6f 72 6d 61 74 2e 8e a6 8d 91 | lues.in.a.reasonable.format..... |
89a0 | fd 27 91 45 61 63 9a b2 21 68 96 03 69 81 76 91 ff 64 44 61 6c 75 65 93 69 73 93 70 72 69 6e 98 | .'.Eac..!h..i.v..dDalue.is.prin. |
89c0 | 74 65 64 93 69 6e 93 61 93 6e 65 77 93 6c 69 6e 65 2e 91 04 c9 91 54 68 69 73 93 66 75 6e 63 74 | ted.in.a.new.line.....This.funct |
89e0 | 69 6f 6e 93 69 73 93 6e 6f 74 93 69 6e 98 74 65 6e 64 65 64 93 66 6f 72 93 66 6f 72 6d 61 74 74 | ion.is.not.in.tended.for.formatt |
8a00 | 65 64 93 6f 75 74 70 75 74 2c 91 03 75 af 62 75 74 93 61 73 8e a6 8d 91 fd 27 91 61 96 03 ab 97 | ed.output,..u.but.as.....'.a.... |
8a20 | 71 75 69 63 9a b2 21 6b 93 77 98 61 98 79 93 74 6f 93 73 68 6f 98 77 93 61 93 76 91 ff 64 44 61 | quic..!k.w.a.y.to.sho.w.a.v..dDa |
8a40 | 6c 75 65 2c 91 03 ac e3 66 6f 72 93 69 6e 73 74 61 6e 63 65 93 66 6f 72 93 65 72 72 6f 72 93 6d | lue,....for.instance.for.error.m |
8a60 | 65 73 73 61 67 65 73 93 6f 72 93 64 65 62 75 67 67 69 6e 67 2e 91 04 ed 70 53 65 65 93 53 65 63 | essages.or.debugging....pSee.Sec |
8a80 | 74 69 6f 6e 93 36 2e 34 93 66 6f 72 8e a6 8d 91 fd 27 91 66 75 6e 63 74 69 6f 6e 73 96 03 a6 66 | tion.6.4.for.....'.functions...f |
8aa0 | 66 6f 72 93 66 6f 72 6d 61 74 74 65 64 93 6f 75 74 70 75 74 2e 8e 9f 1c ec 1f 8d 91 fd 27 91 d3 | for.formatted.output.........'.. |
8ac0 | 74 6f 6e 75 6d 62 65 72 91 05 bf aa 28 65 29 8e a1 8d 91 fd 27 91 cd 54 68 69 73 96 04 13 8e 66 | tonumber....(e).....'..This....f |
8ae0 | 75 6e 63 74 69 6f 6e 93 72 65 63 65 69 76 9a b2 21 65 73 93 6f 6e 65 93 61 72 67 75 6d 65 6e 98 | unction.receiv..!es.one.argumen. |
8b00 | 74 2c 91 04 2e d8 61 6e 64 93 74 72 69 65 73 93 74 6f 93 63 6f 6e 98 76 98 65 72 74 93 69 74 93 | t,....and.tries.to.con.v.ert.it. |
8b20 | 74 6f 93 61 93 6e 98 75 6d 98 62 90 4d de 65 72 2e 91 06 25 55 49 66 93 74 68 65 93 61 72 67 75 | to.a.n.um.b.M.er...%UIf.the.argu |
8b40 | 6d 65 6e 98 74 93 69 73 8e a6 8d 91 fd 27 91 61 6c 72 65 61 64 79 96 03 37 6e 61 93 6e 95 b2 21 | men.t.is.....'.already..7na.n..! |
8b60 | 75 6d 93 62 9a 4d de 65 72 96 03 37 6e 6f 72 93 61 93 73 74 72 69 6e 67 93 63 6f 6e 95 b2 21 76 | um.b.M.er..7nor.a.string.con..!v |
8b80 | 93 65 72 74 69 62 6c 65 96 03 37 6e 74 6f 93 61 93 6e 95 b2 21 75 6d 93 62 98 65 72 96 03 37 6e | .ertible..7nto.a.n..!um.b.er..7n |
8ba0 | 28 73 65 65 93 53 65 63 74 69 6f 6e 93 34 2e 32 29 2c 91 03 4d a0 69 74 93 72 65 74 75 72 6e 73 | (see.Section.4.2),..M.it.returns |
8bc0 | 93 74 68 61 74 93 6e 95 b2 21 75 6d 93 62 98 65 72 3b 8e a6 8d 91 fd 27 91 6f 74 68 65 72 77 69 | .that.n..!um.b.er;.....'.otherwi |
8be0 | 73 65 2c 96 03 a6 66 69 74 93 72 65 74 75 72 6e 73 93 d2 6e 69 6c cd 2e 8e 9f 1c ec 1f 8d 91 fd | se,...fit.returns..nil.......... |
8c00 | 27 91 d3 74 79 70 65 91 05 bf aa 28 76 29 8e a1 8d 91 fd 27 91 cd 54 68 69 73 96 03 a1 02 66 75 | '..type....(v).....'..This....fu |
8c20 | 6e 63 74 69 6f 6e 93 61 6c 6c 6f 9a b2 21 77 73 93 4c 75 61 93 74 6f 93 74 65 73 74 93 74 68 65 | nction.allo..!ws.Lua.to.test.the |
8c40 | 93 74 98 79 70 90 4d de 65 93 6f 66 93 61 93 76 91 ff 64 44 61 6c 75 65 2e 91 04 dc 11 49 74 93 | .t.yp.M.e.of.a.v..dDalue.....It. |
8c60 | 72 65 63 65 69 76 98 65 73 93 6f 6e 65 93 61 72 67 75 6d 65 6e 98 74 2c 91 03 a2 16 61 6e 64 93 | receiv.es.one.argumen.t,....and. |
8c80 | 72 65 74 75 72 6e 73 93 69 74 73 8e a6 8d 91 fd 27 91 74 90 b2 21 79 70 95 4d de 65 2c 9b 03 a6 | returns.its.....'.t..!yp.M.e,... |
8ca0 | 66 63 6f 93 64 65 64 98 61 73 98 61 98 73 74 72 69 6e 67 2e 91 04 dd dd 54 68 65 98 70 93 6f 73 | fco.ded.as.a.string.....The.p.os |
8cc0 | 73 69 62 6c 65 98 72 65 73 75 6c 74 73 98 6f 66 98 74 68 69 73 98 66 75 6e 63 74 69 6f 6e 98 61 | sible.results.of.this.function.a |
8ce0 | 72 65 3a 8e a4 16 99 9a 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 87 95 d3 27 6e 69 6c 27 8e | re:............a..........'nil'. |
8d00 | a1 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 87 95 d3 27 6e 75 6d 62 65 72 27 8e a1 8d 8d 8d | ........a..........'number'..... |
8d20 | 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 87 95 d3 27 73 74 72 69 6e 67 27 8e a1 8d 8d 8d 8d 91 0d 94 | ....a..........'string'......... |
8d40 | 61 cf 0f 8e 8e 8e 91 18 87 95 d3 27 74 61 62 6c 65 27 8e a1 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e | a..........'table'.........a.... |
8d60 | 8e 91 18 87 95 d3 27 63 66 75 6e 63 74 69 6f 6e 27 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 cd 31 32 | ......'cfunction'....s.....t..12 |
8d80 | 8e 8e 8c 8b 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8da0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 29 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c | ...............)....c...2......| |
8dc0 | 8d a0 fd 75 e5 6b 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 87 95 d3 27 66 75 6e 63 74 69 6f | ...u.k.......a..........'functio |
8de0 | 6e 27 8e 9f 16 99 9a 8d 8d 8d 8d 91 0d 94 61 cf 0f 8e 8e 8e 91 18 87 95 d3 27 75 73 65 72 64 61 | n'............a..........'userda |
8e00 | 74 61 27 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 36 2e 32 8e 91 1b e7 91 53 74 72 69 6e 67 91 04 80 | ta'...R.....'..6.2.....String... |
8e20 | 00 4d 61 6e 69 70 75 6c 61 74 69 6f 6e 8e a9 14 ab ff 8d 91 fd 27 91 cd 54 68 69 73 96 03 93 26 | .Manipulation........'..This...& |
8e40 | 6c 69 62 72 61 72 79 93 70 72 6f 9a b2 21 76 69 64 65 73 93 67 65 6e 65 72 69 63 93 66 75 6e 63 | library.pro..!vides.generic.func |
8e60 | 74 69 6f 6e 73 93 66 6f 72 93 73 74 72 69 6e 67 93 6d 61 6e 69 70 75 6c 61 74 69 6f 6e 2c 91 03 | tions.for.string.manipulation,.. |
8e80 | 97 00 73 75 63 98 68 93 61 73 93 0c 6e 64 69 6e 67 93 61 6e 64 93 65 78 74 72 61 63 74 69 6e 67 | ..suc.h.as..nding.and.extracting |
8ea0 | 8e a4 0d 99 9a 8d 91 fd 27 91 73 75 62 73 74 72 69 6e 67 73 2e 9b 04 b8 d3 57 68 65 6e 96 03 37 | ........'.substrings.....When..7 |
8ec0 | 48 69 6e 64 65 78 69 6e 67 93 61 93 73 74 72 69 6e 67 2c 91 03 4d 81 74 68 65 93 0c 72 73 74 93 | Hindexing.a.string,..M.the..rst. |
8ee0 | 63 90 b2 21 68 61 72 61 63 74 65 72 93 68 61 73 93 70 90 4d de 6f 73 69 74 69 6f 6e 93 31 2e 98 | c..!haracter.has.p.M.osition.1.. |
8f00 | 53 65 65 93 53 65 63 74 69 6f 6e 93 37 2e 32 93 66 6f 72 93 73 6f 6d 65 8e a1 8d 91 fd 27 91 65 | See.Section.7.2.for.some.....'.e |
8f20 | 78 61 6d 70 6c 65 73 96 03 a6 66 6f 6e 93 73 74 72 69 6e 67 93 6d 61 6e 69 70 75 6c 61 74 69 6f | xamples...fon.string.manipulatio |
8f40 | 6e 93 69 6e 93 4c 75 61 2e 8e 9f 1c ec 1f 8d 91 fd 27 91 d3 73 74 72 66 69 6e 64 96 05 bf aa 28 | n.in.Lua.........'..strfind....( |
8f60 | 73 74 72 2c 93 73 75 62 73 74 72 29 8e a6 8d 91 fd 27 91 cd 52 65 63 65 69 76 95 b2 21 65 73 9b | str,.substr).....'..Receiv..!es. |
8f80 | 03 3a 7a 74 93 77 93 6f 98 73 74 72 69 6e 67 98 61 72 67 75 6d 65 6e 93 74 73 2c 91 03 50 0f 61 | .:zt.w.o.string.argumen.ts,..P.a |
8fa0 | 6e 64 98 72 65 74 75 72 6e 73 98 61 98 6e 93 75 6d 93 62 90 4d de 65 72 2e 91 04 b9 e4 54 68 69 | nd.returns.a.n.um.b.M.er.....Thi |
8fc0 | 73 98 6e 93 75 6d 93 62 95 4d de 65 72 98 69 6e 64 69 63 61 74 65 73 98 74 68 65 98 0c 72 73 74 | s.n.um.b.M.er.indicates.the..rst |
8fe0 | 98 70 93 6f 73 69 74 69 6f 6e 8e a1 8d 91 fd 27 91 77 68 65 72 65 96 04 9f 7f 74 68 65 93 73 65 | .p.osition.....'.where....the.se |
9000 | 63 6f 6e 64 93 61 72 67 75 6d 65 6e 9a b2 21 74 93 61 70 70 90 4d de 65 61 72 73 93 69 6e 93 74 | cond.argumen..!t.app.M.ears.in.t |
9020 | 68 65 93 0c 72 73 74 93 61 72 67 75 6d 65 6e 98 74 2e 91 07 c9 27 49 66 93 74 68 65 93 73 65 63 | he..rst.argumen.t....'If.the.sec |
9040 | 6f 6e 64 93 61 72 67 75 6d 65 6e 98 74 93 69 73 93 6e 6f 74 93 61 8e a1 8d 91 fd 27 91 73 75 62 | ond.argumen.t.is.not.a.....'.sub |
9060 | 73 74 72 69 6e 67 96 03 a6 66 6f 66 93 74 68 65 93 0c 72 73 74 93 6f 6e 65 2c 93 74 68 65 6e 93 | string...fof.the..rst.one,.then. |
9080 | d3 73 74 72 66 69 6e 64 93 cd 72 65 74 75 72 6e 73 93 d2 6e 69 6c cd 2e 8e a4 1c ec 1f 8d 91 fd | .strfind..returns..nil.......... |
90a0 | 27 91 d3 73 74 72 6c 65 6e 91 05 bf aa 28 73 29 8e a6 8d 91 fd 27 91 cd 52 65 63 65 69 76 90 b2 | '..strlen....(s).....'..Receiv.. |
90c0 | 21 65 73 96 03 a6 66 61 93 73 74 72 69 6e 67 93 61 6e 64 93 72 65 74 75 72 6e 73 93 69 74 73 93 | !es...fa.string.and.returns.its. |
90e0 | 6c 65 6e 67 74 68 2e 8e a1 8d 91 fd 27 91 d3 73 74 72 73 75 62 96 05 bf aa 28 73 2c 93 69 2c 93 | length......'..strsub....(s,.i,. |
9100 | 6a 29 8e a6 8d 91 fd 27 91 cd 52 65 74 75 72 6e 73 96 03 00 08 61 6e 6f 74 68 65 72 93 73 74 72 | j).....'..Returns....another.str |
9120 | 69 6e 67 2c 9b 03 21 4e 77 68 69 63 90 b2 21 68 93 69 73 93 61 93 73 75 62 73 74 72 69 6e 67 93 | ing,..!Nwhic..!h.is.a.substring. |
9140 | 6f 66 93 d3 73 cd 2c 98 73 74 61 72 74 69 6e 67 93 61 74 93 d3 69 93 cd 61 6e 64 93 72 75 6e 69 | of..s.,.starting.at..i..and.runi |
9160 | 6e 67 93 75 6e 9a b2 21 74 69 6c 93 d3 6a cd 2e 91 04 a6 68 49 66 93 d3 6a 93 cd 69 73 93 61 62 | ng.un..!til..j.....hIf..j..is.ab |
9180 | 73 65 6e 98 74 8e a4 0d 99 9a 8d 91 fd 27 91 6f 72 96 04 55 3f 69 73 93 d2 6e 69 6c cd 2c 9b 04 | sen.t........'.or..U?is..nil.,.. |
91a0 | 80 f5 69 74 93 69 73 93 61 73 73 75 6d 65 64 93 74 6f 93 62 90 4d de 65 93 65 71 75 61 6c 93 74 | ..it.is.assumed.to.b.M.e.equal.t |
91c0 | 6f 93 74 68 65 93 6c 65 6e 67 74 68 93 6f 66 93 d3 73 cd 2e 91 06 ea 68 50 90 b2 21 61 72 74 69 | o.the.length.of..s.....hP..!arti |
91e0 | 63 75 6c 61 72 6c 79 91 ff 16 65 2c 98 74 68 65 93 63 61 6c 6c 93 d3 73 74 72 73 75 62 28 73 2c | cularly...e,.the.call..strsub(s, |
9200 | 31 2c 6a 29 8e a1 8d 91 fd 27 91 cd 72 65 74 75 72 6e 73 96 03 a6 66 61 93 70 72 65 0c 78 93 6f | 1,j).....'..returns...fa.pre.x.o |
9220 | 66 93 d3 73 93 cd 77 69 74 68 93 6c 65 6e 67 74 68 93 d3 6a cd 2c 93 77 68 69 6c 65 93 74 68 65 | f..s..with.length..j.,.while.the |
9240 | 93 63 61 6c 6c 93 d3 73 74 72 73 75 62 28 73 2c 69 29 93 cd 72 65 74 75 72 6e 73 93 61 93 73 75 | .call..strsub(s,i)..returns.a.su |
9260 | 0c 78 93 6f 66 93 d3 73 cd 2e 8e 9f 1c ec 1f 8d 91 fd 27 91 d3 73 74 72 6c 6f 77 65 72 91 05 bf | .x.of..s..........'..strlower... |
9280 | aa 28 73 29 8e a6 8d 91 fd 27 91 cd 52 65 63 65 69 76 9a b2 21 65 73 96 03 5f c9 61 93 73 74 72 | .(s).....'..Receiv..!es.._.a.str |
92a0 | 69 6e 67 93 61 6e 64 93 72 65 74 75 72 6e 73 93 61 93 63 6f 70 98 79 93 6f 66 93 74 68 61 74 93 | ing.and.returns.a.cop.y.of.that. |
92c0 | 73 74 72 69 6e 67 93 77 69 74 68 93 61 6c 6c 93 75 70 70 90 4d de 65 72 93 63 61 73 65 93 6c 65 | string.with.all.upp.M.er.case.le |
92e0 | 74 74 65 72 73 93 63 98 68 61 6e 67 65 64 93 74 6f 93 6c 6f 98 77 98 65 72 8e a1 8d 91 fd 27 91 | tters.c.hanged.to.lo.w.er.....'. |
9300 | 63 61 73 65 2e 91 04 dd dd 41 6c 6c 96 03 a6 66 6f 74 68 65 72 93 63 9a b2 21 68 61 72 61 63 74 | case.....All...fother.c..!haract |
9320 | 65 72 73 93 61 72 65 93 6c 65 66 74 93 75 6e 63 98 68 61 6e 67 65 64 2e 8e 9f 1c ec 1f 8d 91 fd | ers.are.left.unc.hanged......... |
9340 | 27 91 d3 73 74 72 75 70 70 65 72 91 05 bf aa 28 73 29 8e a6 8d 91 fd 27 91 cd 52 65 63 65 69 76 | '..strupper....(s).....'..Receiv |
9360 | 9a b2 21 65 73 96 03 5f c9 61 93 73 74 72 69 6e 67 93 61 6e 64 93 72 65 74 75 72 6e 73 93 61 93 | ..!es.._.a.string.and.returns.a. |
9380 | 63 6f 70 98 79 93 6f 66 93 74 68 61 74 93 73 74 72 69 6e 67 93 77 69 74 68 93 61 6c 6c 93 6c 6f | cop.y.of.that.string.with.all.lo |
93a0 | 98 77 98 65 72 93 63 61 73 65 93 6c 65 74 74 65 72 73 93 63 98 68 61 6e 67 65 64 93 74 6f 93 75 | .w.er.case.letters.c.hanged.to.u |
93c0 | 70 70 90 4d de 65 72 8e a1 8d 91 fd 27 91 63 61 73 65 2e 91 04 dd dd 41 6c 6c 96 03 a6 66 6f 74 | pp.M.er.....'.case.....All...fot |
93e0 | 68 65 72 93 63 9a b2 21 68 61 72 61 63 74 65 72 73 93 61 72 65 93 6c 65 66 74 93 75 6e 63 98 68 | her.c..!haracters.are.left.unc.h |
9400 | 61 6e 67 65 64 2e 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 36 2e 33 8e 91 1b e7 91 4d 61 74 68 65 6d | anged....R.....'..6.3.....Mathem |
9420 | 61 74 69 63 61 6c 91 04 80 00 46 91 fe e0 00 75 6e 63 74 69 6f 6e 73 8e a6 8d 91 fd 27 91 cd 54 | atical....F....unctions.....'..T |
9440 | 68 69 73 96 03 da ac 6c 69 62 72 61 72 79 93 69 73 93 61 6e 93 69 6e 9a b2 21 74 65 72 66 61 63 | his....library.is.an.in..!terfac |
9460 | 65 93 74 6f 93 73 6f 6d 65 93 66 75 6e 63 74 69 6f 6e 73 93 6f 66 93 74 68 65 93 73 74 61 6e 64 | e.to.some.functions.of.the.stand |
9480 | 61 72 64 93 43 91 03 da 9f 6d 61 74 68 93 6c 69 62 72 61 72 79 91 ff 16 65 2e 91 05 7a af 49 74 | ard.C....math.library...e...z.It |
94a0 | 93 70 72 6f 98 76 69 64 65 73 93 74 68 65 8e a1 8d 91 fd 27 91 66 6f 6c 6c 6f 90 b2 21 77 69 6e | .pro.vides.the.....'.follo..!win |
94c0 | 67 91 03 a6 66 66 75 6e 63 74 69 6f 6e 73 3a 8e a9 16 99 9a 8d 91 fd 27 91 d3 61 62 73 91 0b 7f | g...ffunctions:........'..abs... |
94e0 | 54 61 63 6f 73 96 05 bf aa 61 73 69 6e 93 61 74 61 6e 93 63 65 69 6c 93 63 6f 73 93 66 6c 6f 6f | Tacos....asin.atan.ceil.cos.floo |
9500 | 72 93 6d 61 78 93 6d 69 6e 8e a1 8d 91 fd 27 91 6d 6f 64 96 0b 7f 54 70 6f 77 93 73 69 6e 93 73 | r.max.min.....'.mod...Tpow.sin.s |
9520 | 71 72 74 91 05 bf aa 74 61 6e 8e a6 8d 91 0e 27 91 cd 54 68 65 96 05 44 e5 66 75 6e 63 74 69 6f | qrt....tan.....'..The..D.functio |
9540 | 6e 73 93 d3 66 6c 6f 6f 72 cd 2c 96 05 ac 85 d3 73 71 72 74 cd 2c 93 d3 70 6f 77 cd 2c 93 d3 63 | ns..floor.,.....sqrt.,..pow.,..c |
9560 | 65 69 6c cd 2c 93 d3 73 69 6e cd 2c 93 d3 63 6f 73 cd 2c 93 d3 74 61 6e cd 2c 93 d3 61 73 69 6e | eil.,..sin.,..cos.,..tan.,..asin |
9580 | cd 2c 93 d3 61 63 6f 73 cd 2c 93 61 6e 64 96 05 44 e5 d3 61 74 61 6e 93 cd 61 72 65 93 6f 6e 6c | .,..acos.,.and..D..atan..are.onl |
95a0 | 79 8e a1 8d 91 fd 27 91 69 6e 9a b2 21 74 65 72 66 61 63 65 73 96 05 79 8a 74 6f 93 74 68 65 93 | y.....'.in..!terfaces..y.to.the. |
95c0 | 68 6f 6d 6f 6e 98 79 6d 6f 75 73 93 66 75 6e 63 74 69 6f 6e 73 93 69 6e 93 74 68 65 93 43 91 05 | homon.ymous.functions.in.the.C.. |
95e0 | 79 12 6c 69 62 72 61 72 79 91 ff 16 65 2c 9b 05 ee 53 77 69 74 68 93 74 68 65 93 64 69 0b 65 72 | y.library...e,...Swith.the.di.er |
9600 | 65 6e 63 65 93 74 68 61 74 2c 98 69 6e 93 74 68 65 8e a1 8d 91 fd 27 91 74 72 69 67 6f 6e 6f 6d | ence.that,.in.the.....'.trigonom |
9620 | 65 74 72 69 63 96 03 a6 66 66 75 6e 63 74 69 6f 6e 73 2c 93 61 6c 6c 93 61 6e 67 6c 65 73 93 61 | etric...ffunctions,.all.angles.a |
9640 | 72 65 93 65 78 70 72 65 73 73 65 64 93 69 6e 93 64 65 67 72 65 65 73 2e 8e a1 8d 91 0e 27 91 54 | re.expressed.in.degrees......'.T |
9660 | 68 65 96 03 0f c5 66 75 6e 63 74 69 6f 6e 93 d3 6d 61 78 93 cd 72 65 74 75 72 6e 73 93 74 68 65 | he....function..max..returns.the |
9680 | 93 6d 61 78 69 6d 9a b2 21 75 6d 93 76 91 ff 64 44 61 6c 75 65 93 69 6e 93 61 93 6c 69 73 74 93 | .maxim..!um.v..dDalue.in.a.list. |
96a0 | 6f 66 93 6e 98 75 6d 65 72 69 63 93 61 72 67 75 6d 65 6e 98 74 73 2e 91 04 ab a7 53 69 6d 69 6c | of.n.umeric.argumen.ts.....Simil |
96c0 | 61 72 6c 79 91 ff 16 65 2c 91 03 2d e5 d3 6d 69 6e 8e a1 8d 91 fd 27 91 cd 63 6f 6d 70 75 74 65 | arly...e,..-..min.....'..compute |
96e0 | 73 96 03 a6 66 74 68 65 93 6d 69 6e 69 6d 9a b2 21 75 6d 2e 91 04 dd dd 42 6f 74 68 93 63 61 6e | s...fthe.minim..!um.....Both.can |
9700 | 93 62 90 4d de 65 93 75 73 65 64 93 77 69 74 68 93 61 6e 93 75 6e 6c 69 6d 69 74 65 64 93 6e 98 | .b.M.e.used.with.an.unlimited.n. |
9720 | 75 6d 98 62 90 4d de 65 72 93 6f 66 93 61 72 67 75 6d 65 6e 98 74 73 2e 8e a1 8d 91 0e 27 91 54 | um.b.M.er.of.argumen.ts......'.T |
9740 | 68 65 96 03 a6 66 66 75 6e 63 74 69 6f 6e 93 d3 6d 6f 64 93 cd 69 73 93 65 71 75 69 76 91 ff 64 | he...ffunction..mod..is.equiv..d |
9760 | 44 61 6c 65 6e 90 b2 21 74 93 74 6f 93 74 68 65 93 d3 25 93 cd 6f 70 90 4d de 65 72 61 74 6f 72 | Dalen..!t.to.the..%..op.M.erator |
9780 | 93 69 6e 93 43 2e 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 31 33 8e 8e 8c 8b 00 00 00 0e 00 00 00 00 | .in.C.....s.....t.13............ |
97a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
97c0 | 00 00 8d 83 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 8d 91 fd 27 91 | ........c...2......|...u.k....'. |
97e0 | db 36 2e 34 8e 91 1b e7 91 49 2f 4f 91 04 80 00 46 91 fe e0 00 61 63 69 6c 69 74 69 65 73 8e a9 | .6.4.....I/O....F....acilities.. |
9800 | 14 ab ff 8d 91 fd 27 91 cd 41 6c 6c 96 03 99 89 49 2f 4f 91 03 99 85 6f 70 90 4d de 65 72 61 74 | ......'..All....I/O....op.M.erat |
9820 | 69 6f 6e 73 93 69 6e 93 4c 75 61 93 61 72 65 93 64 6f 6e 65 93 6f 95 b2 21 76 93 65 72 9b 03 99 | ions.in.Lua.are.done.o..!v.er... |
9840 | 89 74 93 77 93 6f 98 d0 63 75 72 72 91 ff 70 b9 65 6e 74 98 cd 0c 6c 65 73 2c 91 03 9c 1b 6f 6e | .t.w.o..curr..p.ent...les,....on |
9860 | 65 98 66 6f 72 98 72 65 61 64 69 6e 67 98 61 6e 64 98 6f 6e 65 98 66 6f 72 98 77 72 69 74 69 6e | e.for.reading.and.one.for.writin |
9880 | 67 2e 8e a4 0d 99 9a 8d 91 fd 27 91 49 6e 69 74 69 61 6c 6c 79 91 ff 16 65 2c 96 03 a6 66 74 68 | g.........'.Initially...e,...fth |
98a0 | 65 93 63 75 72 72 65 6e 9a b2 21 74 93 69 6e 70 75 74 93 0c 6c 65 93 69 73 93 d3 73 74 64 69 6e | e.curren..!t.input..le.is..stdin |
98c0 | cd 2c 93 61 6e 64 93 74 68 65 93 63 75 72 72 65 6e 98 74 93 6f 75 74 70 75 74 93 0c 6c 65 93 69 | .,.and.the.curren.t.output..le.i |
98e0 | 73 93 d3 73 74 64 6f 75 74 cd 2e 8e a1 8d 91 0e 27 91 55 6e 6c 65 73 73 96 03 a6 66 6f 74 68 65 | s..stdout.......'.Unless...fothe |
9900 | 72 77 69 73 65 64 93 73 74 61 74 65 64 2c 93 61 6c 6c 93 49 2f 4f 93 66 75 6e 63 74 69 6f 6e 73 | rwised.stated,.all.I/O.functions |
9920 | 93 72 65 74 75 72 6e 93 31 93 6f 6e 93 73 75 63 63 65 73 73 93 61 6e 64 93 d2 6e 69 6c 93 cd 6f | .return.1.on.success.and..nil..o |
9940 | 6e 93 66 61 69 6c 75 72 65 2e 8e 9f 1c b3 48 8d 91 fd 27 91 d3 72 65 61 64 66 72 6f 6d 91 05 bf | n.failure.....H...'..readfrom... |
9960 | aa 28 66 69 6c 65 6e 61 6d 65 29 8e a6 8d 91 fd 27 91 cd 54 68 69 73 96 03 e9 ff 66 75 6e 63 74 | .(filename).....'..This....funct |
9980 | 69 6f 6e 93 6f 70 90 4d de 65 6e 73 93 61 93 0c 6c 65 93 6e 61 6d 65 64 93 d3 66 69 6c 65 6e 61 | ion.op.M.ens.a..le.named..filena |
99a0 | 6d 65 93 cd 61 6e 64 93 73 65 74 73 93 69 74 93 61 73 93 74 68 65 93 d0 63 75 72 72 91 ff 70 b9 | me..and.sets.it.as.the..curr..p. |
99c0 | 65 6e 74 93 cd 69 6e 70 75 74 93 0c 6c 65 2e 91 05 a8 a7 57 68 65 6e 93 63 61 6c 6c 65 64 8e a1 | ent..input..le.....When.called.. |
99e0 | 8d 91 fd 27 91 77 69 74 68 6f 75 74 96 03 a6 66 70 61 72 61 6d 65 74 65 72 73 2c 93 74 68 69 73 | ...'.without...fparameters,.this |
9a00 | 93 66 75 6e 63 74 69 6f 6e 93 72 65 73 74 6f 72 65 73 93 d3 73 74 64 69 6e 93 cd 61 73 93 74 68 | .function.restores..stdin..as.th |
9a20 | 65 93 63 75 72 72 65 6e 90 b2 21 74 93 69 6e 70 75 74 93 0c 6c 65 2e 8e 9f 1c b3 48 8d 91 fd 27 | e.curren..!t.input..le.....H...' |
9a40 | 91 d3 77 72 69 74 65 74 6f 91 05 bf aa 28 66 69 6c 65 6e 61 6d 65 29 8e a6 8d 91 fd 27 91 cd 54 | ..writeto....(filename).....'..T |
9a60 | 68 69 73 96 03 a4 80 66 75 6e 63 74 69 6f 6e 93 6f 70 90 4d de 65 6e 73 93 61 93 0c 6c 65 93 6e | his....function.op.M.ens.a..le.n |
9a80 | 61 6d 65 64 93 d3 66 69 6c 65 6e 61 6d 65 93 cd 61 6e 64 93 73 65 74 73 93 69 74 93 61 73 93 74 | amed..filename..and.sets.it.as.t |
9aa0 | 68 65 93 d0 63 75 72 72 91 ff 70 b9 65 6e 74 93 cd 6f 75 74 70 75 74 93 0c 6c 65 2e 91 04 dd 3b | he..curr..p.ent..output..le....; |
9ac0 | 4e 6f 74 69 63 65 93 74 68 61 74 2c 8e a1 8d 91 fd 27 91 69 66 96 04 ef 83 74 68 65 93 0c 6c 65 | Notice.that,.....'.if....the..le |
9ae0 | 93 61 6c 72 65 61 64 79 93 65 78 69 73 74 73 2c 91 05 41 ca 69 74 93 69 73 93 63 6f 6d 70 6c 65 | .already.exists,..A.it.is.comple |
9b00 | 74 65 6c 79 93 65 72 61 73 65 64 93 77 69 74 68 93 74 68 69 73 93 6f 70 90 4d de 65 72 61 74 69 | tely.erased.with.this.op.M.erati |
9b20 | 6f 6e 2e 91 08 b9 35 57 68 65 6e 93 63 61 6c 6c 65 64 93 77 69 74 68 6f 75 74 8e a1 8d 91 fd 27 | on....5When.called.without.....' |
9b40 | 91 70 61 72 61 6d 65 74 65 72 73 2c 96 03 a6 66 74 68 69 73 93 66 75 6e 63 74 69 6f 6e 93 72 65 | .parameters,...fthis.function.re |
9b60 | 73 74 6f 72 65 73 93 d3 73 74 64 6f 75 74 93 cd 61 73 93 74 68 65 93 63 75 72 72 65 6e 90 b2 21 | stores..stdout..as.the.curren..! |
9b80 | 74 93 6f 75 74 70 75 74 93 0c 6c 65 2e 8e 9f 1c b3 48 8d 91 fd 27 91 d3 61 70 70 65 6e 64 74 6f | t.output..le.....H...'..appendto |
9ba0 | 91 05 bf aa 28 66 69 6c 65 6e 61 6d 65 29 8e a6 8d 91 fd 27 91 cd 54 68 69 73 96 04 15 41 66 75 | ....(filename).....'..This...Afu |
9bc0 | 6e 63 74 69 6f 6e 93 6f 70 90 4d de 65 6e 73 93 61 93 0c 6c 65 93 6e 61 6d 65 64 93 d3 66 69 6c | nction.op.M.ens.a..le.named..fil |
9be0 | 65 6e 61 6d 65 93 cd 61 6e 64 93 73 65 74 73 93 69 74 93 61 73 93 74 68 65 93 d0 63 75 72 72 91 | ename..and.sets.it.as.the..curr. |
9c00 | ff 70 b9 65 6e 74 93 cd 6f 75 74 70 75 74 93 0c 6c 65 2e 91 06 2a 6e 55 6e 6c 69 6b 90 b2 21 65 | .p.ent..output..le...*nUnlik..!e |
9c20 | 93 74 68 65 8e a1 8d 91 fd 27 91 d3 77 72 69 74 65 74 6f 96 03 c5 f3 cd 6f 70 9a 4d de 65 72 61 | .the.....'..writeto.....op.M.era |
9c40 | 74 69 6f 6e 2c 91 03 cd d7 74 68 69 73 93 66 75 6e 63 74 69 6f 6e 93 64 6f 98 65 73 93 6e 6f 74 | tion,....this.function.do.es.not |
9c60 | 93 65 72 61 73 65 93 61 6e 9a b2 21 79 93 70 72 65 76 69 6f 75 73 93 63 6f 6e 98 74 65 6e 98 74 | .erase.an..!y.previous.con.ten.t |
9c80 | 93 6f 66 93 74 68 65 93 0c 6c 65 2e 91 05 3c 85 57 68 65 6e 93 63 61 6c 6c 65 64 8e a1 8d 91 fd | .of.the..le...<.When.called..... |
9ca0 | 27 91 77 69 74 68 6f 75 74 96 04 a0 94 70 61 72 61 6d 65 74 65 72 73 2c 91 04 df 1f 74 68 69 73 | '.without....parameters,....this |
9cc0 | 93 66 75 6e 63 74 69 6f 6e 93 72 65 73 74 6f 72 65 73 93 d3 73 74 64 6f 75 74 93 cd 61 73 93 74 | .function.restores..stdout..as.t |
9ce0 | 68 65 93 63 75 72 72 65 6e 90 b2 21 74 93 6f 75 74 70 75 74 93 0c 6c 65 2e 91 07 cc 68 54 68 69 | he.curren..!t.output..le....hThi |
9d00 | 73 93 66 75 6e 63 74 69 6f 6e 8e a1 8d 91 fd 27 91 72 65 74 75 72 6e 73 96 03 a6 66 32 93 69 66 | s.function.....'.returns...f2.if |
9d20 | 93 74 68 65 93 0c 6c 65 93 61 6c 72 65 61 64 79 93 65 78 69 73 74 73 2c 93 31 93 69 66 93 69 74 | .the..le.already.exists,.1.if.it |
9d40 | 93 63 72 65 61 74 65 73 93 61 93 6e 65 77 93 0c 6c 65 2c 93 61 6e 64 93 d2 6e 69 6c 93 cd 6f 6e | .creates.a.new..le,.and..nil..on |
9d60 | 93 66 61 69 6c 75 72 65 2e 8e 9f 1c b3 48 8d 91 fd 27 91 d3 72 65 61 64 91 05 bf aa 28 5b 66 6f | .failure.....H...'..read....([fo |
9d80 | 72 6d 61 74 5d 29 8e a6 8d 91 fd 27 91 cd 54 68 69 73 96 02 a0 ab 66 75 6e 63 74 69 6f 6e 93 72 | rmat]).....'..This....function.r |
9da0 | 65 74 75 72 6e 73 93 61 93 76 91 ff 64 44 61 6c 75 65 93 72 65 61 64 93 66 72 6f 6d 93 74 68 65 | eturns.a.v..dDalue.read.from.the |
9dc0 | 93 63 75 72 72 65 6e 9a b2 21 74 93 69 6e 70 75 74 2e 91 04 86 9f 41 6e 93 6f 70 74 69 6f 6e 61 | .curren..!t.input.....An.optiona |
9de0 | 6c 93 73 74 72 69 6e 67 93 61 72 67 75 6d 65 6e 98 74 93 73 70 90 4d de 65 63 69 0c 65 73 8e a1 | l.string.argumen.t.sp.M.eci.es.. |
9e00 | 8d 91 fd 27 91 74 68 65 9b 03 a6 66 77 95 b2 21 61 93 79 98 74 68 65 98 69 6e 70 75 74 98 69 73 | ...'.the...fw..!a.y.the.input.is |
9e20 | 98 69 6e 93 74 65 72 70 72 65 74 65 64 2e 8e a1 8d 91 0e 27 91 57 69 74 68 6f 75 74 96 04 9b 85 | .in.terpreted......'.Without.... |
9e40 | 61 93 66 6f 72 6d 61 74 93 61 72 67 75 6d 65 6e 90 b2 21 74 2c 9b 04 d8 cd d3 72 65 61 64 93 cd | a.format.argumen..!t,.....read.. |
9e60 | 0c 72 73 74 93 73 6b 69 70 73 93 62 6c 61 6e 6b 73 2c 98 74 61 62 73 93 61 6e 64 93 6e 65 77 6c | .rst.skips.blanks,.tabs.and.newl |
9e80 | 69 6e 65 73 2e 91 07 bd 3b 54 68 65 6e 93 69 74 93 63 95 b2 21 68 65 63 93 6b 73 8e a1 8d 91 fd | ines....;Then.it.c..!hec.ks..... |
9ea0 | 27 91 77 68 65 74 68 65 72 96 04 93 34 74 68 65 93 63 75 72 72 65 6e 9a b2 21 74 93 63 98 68 61 | '.whether...4the.curren..!t.c.ha |
9ec0 | 72 61 63 74 65 72 93 69 73 93 d3 22 93 cd 6f 72 93 d3 27 cd 2e 91 07 a4 48 49 66 93 73 6f 2c 91 | racter.is.."..or..'.....HIf.so,. |
9ee0 | 04 ce 68 69 74 93 72 65 61 64 73 93 61 93 73 74 72 69 6e 67 93 75 70 93 74 6f 93 74 68 65 93 65 | ..hit.reads.a.string.up.to.the.e |
9f00 | 6e 64 69 6e 67 93 71 75 6f 74 61 74 69 6f 6e 8e a1 8d 91 fd 27 91 6d 61 72 6b 2c 9b 03 8b f1 61 | nding.quotation.....'.mark,....a |
9f20 | 6e 64 96 03 85 54 72 65 74 75 72 6e 73 93 74 68 69 73 93 73 74 72 69 6e 67 2c 98 77 69 74 68 6f | nd...Treturns.this.string,.witho |
9f40 | 75 74 93 74 68 65 93 71 75 6f 74 61 74 69 6f 6e 93 6d 61 72 6b 73 2e 91 04 d2 d7 4f 74 68 65 72 | ut.the.quotation.marks.....Other |
9f60 | 77 69 73 65 93 69 74 93 72 65 61 64 73 93 75 70 93 74 6f 93 61 93 62 6c 61 6e 6b 2c 8e a1 8d 91 | wise.it.reads.up.to.a.blank,.... |
9f80 | fd 27 91 74 61 62 96 03 a6 66 6f 72 93 6e 65 77 6c 69 6e 65 2e 8e a1 8d 91 0e 27 91 54 68 65 96 | .'.tab...for.newline......'.The. |
9fa0 | 03 a6 66 66 6f 72 6d 61 74 93 73 74 72 69 6e 67 93 63 61 6e 93 68 61 95 b2 21 76 93 65 96 03 a6 | ..fformat.string.can.ha..!v.e... |
9fc0 | 66 74 68 65 93 66 6f 6c 6c 6f 90 b2 21 77 69 6e 67 93 66 6f 72 6d 61 74 3a 8e a4 15 6c 2f 8d 91 | fthe.follo..!wing.format:...l/.. |
9fe0 | 0e 66 8f d3 3f 5b 6e 5d 8e a1 8d 91 fd 27 91 cd 77 68 65 72 65 96 03 a6 66 d3 3f 93 cd 63 61 6e | .f..?[n].....'..where...f.?..can |
a000 | 93 62 90 4d de 65 3a 8e 9f 15 6c 2e 8d 8d 8d 91 fd 27 91 d2 27 73 27 96 04 32 8d 6f 72 93 27 53 | .b.M.e:...l......'..'s'..2.or.'S |
a020 | 27 8e 8e 91 30 76 0a cd 74 6f 96 03 a6 66 72 65 61 64 93 61 93 73 74 72 69 6e 67 3b 8e a4 16 21 | '...0v..to...fread.a.string;...! |
a040 | 08 8d 8d 8d 91 fd 27 91 d2 27 66 91 01 31 9f 27 96 04 32 8d 6f 72 93 27 46 27 8e 8e 91 31 76 9b | ......'..'f..1.'..2.or.'F'...1v. |
a060 | cd 74 6f 96 03 a6 66 72 65 61 64 93 61 93 72 65 61 6c 93 6e 95 b2 21 75 6d 93 62 90 4d de 65 72 | .to...fread.a.real.n..!um.b.M.er |
a080 | 3b 8e a1 8d 8d 8d 91 fd 27 91 d2 27 69 27 96 04 32 8d 6f 72 93 27 49 27 8e 8e 91 2c c5 86 cd 74 | ;.......'..'i'..2.or.'I'...,...t |
a0a0 | 6f 96 03 a6 66 72 65 61 64 93 61 6e 93 69 6e 90 b2 21 74 65 67 65 72 2e 8e 9f 15 6c 2f 8d 91 fd | o...fread.an.in..!teger....l/... |
a0c0 | 27 91 54 68 65 96 03 7c f4 6f 70 74 69 6f 6e 61 6c 93 d3 6e 93 cd 69 73 93 61 93 6e 95 b2 21 75 | '.The..|.optional..n..is.a.n..!u |
a0e0 | 6d 93 62 90 4d de 65 72 9b 03 7c f4 77 68 69 63 93 68 98 73 70 90 4d de 65 63 69 0c 65 73 98 68 | m.b.M.er..|.whic.h.sp.M.eci.es.h |
a100 | 6f 93 77 98 6d 61 6e 93 79 98 63 93 68 61 72 61 63 74 65 72 73 98 6d 93 75 73 74 98 62 95 4d de | o.w.man.y.c.haracters.m.ust.b.M. |
a120 | 65 98 72 65 61 64 98 74 6f 98 63 6f 6d 70 93 6f 73 65 98 74 68 65 8e a4 0d 99 9a 8d 91 fd 27 91 | e.read.to.comp.ose.the........'. |
a140 | 69 6e 70 75 74 91 03 a6 66 76 91 ff 64 44 61 6c 75 65 2e 8e 9f 1c b3 48 8d 91 fd 27 91 d3 77 72 | input...fv..dDalue.....H...'..wr |
a160 | 69 74 65 96 05 bf aa 28 76 61 6c 75 65 2c 93 5b 66 6f 72 6d 61 74 5d 29 8e a6 8d 91 fd 27 91 cd | ite....(value,.[format]).....'.. |
a180 | 54 68 69 73 96 03 a8 9c 66 75 6e 63 74 69 6f 6e 93 77 72 69 74 65 73 93 74 68 65 93 76 91 ff 64 | This....function.writes.the.v..d |
a1a0 | 44 61 6c 75 65 93 6f 66 93 69 74 73 93 0c 72 73 74 93 61 72 67 75 6d 65 6e 9a b2 21 74 93 74 6f | Dalue.of.its..rst.argumen..!t.to |
a1c0 | 93 74 68 65 93 63 75 72 72 65 6e 98 74 93 6f 75 74 70 75 74 2e 91 04 e4 80 41 6e 93 6f 70 74 69 | .the.curren.t.output.....An.opti |
a1e0 | 6f 6e 61 6c 93 73 65 63 6f 6e 64 8e a1 8d 91 fd 27 91 61 72 67 75 6d 65 6e 90 b2 21 74 96 04 0c | onal.second.....'.argumen..!t... |
a200 | 4d 73 70 9a 4d de 65 63 69 0c 65 73 93 74 68 65 93 66 6f 72 6d 61 74 93 74 6f 93 62 98 65 93 75 | Msp.M.eci.es.the.format.to.b.e.u |
a220 | 73 65 64 2e 91 06 0f 91 54 68 69 73 93 66 6f 72 6d 61 74 93 69 73 93 67 69 76 90 b2 21 65 6e 93 | sed.....This.format.is.giv..!en. |
a240 | 61 73 93 61 93 73 74 72 69 6e 67 2c 91 04 25 c6 63 6f 6d 70 98 6f 73 65 64 93 6f 66 93 66 6f 75 | as.a.string,..%.comp.osed.of.fou |
a260 | 72 8e a1 8d 91 fd 27 91 70 61 72 74 73 2e 91 04 dd dd 54 68 65 96 03 a6 66 0c 72 73 74 93 70 61 | r.....'.parts.....The...f.rst.pa |
a280 | 72 74 93 69 73 93 74 68 65 93 6f 6e 6c 79 93 6e 6f 74 93 6f 70 74 69 6f 6e 61 6c 2c 93 61 6e 64 | rt.is.the.only.not.optional,.and |
a2a0 | 93 6d 9a b2 21 75 73 74 93 62 90 4d de 65 93 6f 6e 65 93 6f 66 93 74 68 65 93 66 6f 6c 6c 6f 98 | .m..!ust.b.M.e.one.of.the.follo. |
a2c0 | 77 69 6e 67 93 63 98 68 61 72 61 63 74 65 72 73 3a 8e 9f 15 6c 2e 8d 8d 8d 91 fd 27 91 d2 27 73 | wing.c.haracters:...l......'..'s |
a2e0 | 27 96 04 32 8d 6f 72 93 27 53 27 8e 8e 91 30 76 0a cd 74 6f 96 03 a6 66 77 72 69 74 65 93 73 74 | '..2.or.'S'...0v..to...fwrite.st |
a300 | 72 69 6e 67 73 3b 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 31 34 8e 8e 8c 8b 00 00 00 0f 00 00 00 00 | rings;....s.....t.14............ |
a320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
a340 | 00 00 97 97 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 8d 8d 91 fd 27 | ........c...2......|...u.k.....' |
a360 | 91 d2 27 66 91 01 31 9f 27 96 04 32 8d 6f 72 93 27 46 27 8e 8e 91 31 76 9b cd 74 6f 96 03 a6 66 | ..'f..1.'..2.or.'F'...1v..to...f |
a380 | 77 72 69 74 65 93 0d 6f 61 74 73 3b 8e a4 16 99 9a 8d 8d 8d 91 fd 27 91 d2 27 69 27 96 04 32 8d | write..oats;..........'..'i'..2. |
a3a0 | 6f 72 93 27 49 27 8e 8e 91 2c c5 86 cd 74 6f 96 03 a6 66 77 72 69 74 65 93 69 6e 90 b2 21 74 65 | or.'I'...,...to...fwrite.in..!te |
a3c0 | 67 65 72 73 2e 8e a1 8d 91 fd 27 91 54 68 65 73 65 96 03 a6 66 63 9a b2 21 68 61 72 61 63 74 65 | gers......'.These...fc..!haracte |
a3e0 | 72 73 93 63 61 6e 93 62 90 4d de 65 93 66 6f 6c 6c 6f 98 77 98 65 64 93 62 98 79 8e a1 8d 91 0e | rs.can.b.M.e.follo.w.ed.b.y..... |
a400 | 66 8f d3 5b 3f 5d 5b 6d 5d 5b 2e 6e 5d 8e a1 8d 91 fd 27 91 cd 77 68 65 72 65 3a 8e a1 8d 8d 8d | f..[?][m][.n].....'..where:..... |
a420 | 91 fd 27 91 d3 3f 8e 8e 91 08 60 d5 cd 69 6e 64 69 63 61 74 65 73 96 03 a6 66 6a 75 73 74 69 0c | ..'..?....`..indicates...fjusti. |
a440 | 63 61 74 69 6f 6e 93 69 6e 73 69 64 65 93 74 68 65 93 0c 65 6c 64 2e 8e a1 8d 8d 8d 8d 91 1f 50 | cation.inside.the..eld.........P |
a460 | 07 27 d3 3c cd 27 8e 8e 8e 91 30 9e a1 72 69 67 68 90 b2 21 74 91 03 a6 66 6a 75 73 74 69 0c 63 | .'.<.'....0..righ..!t...fjusti.c |
a480 | 61 74 69 6f 6e 3b 8e a4 11 99 9a 8d 8d 8d 8d 91 1f 50 07 27 d3 3e cd 27 8e 8e 8e 91 30 9e a1 6c | ation;...........P.'.>.'....0..l |
a4a0 | 65 66 74 91 03 a6 66 6a 75 73 74 69 0c 63 61 74 69 6f 6e 3b 8e a1 8d 8d 8d 8d 91 1f 50 07 27 d3 | eft...fjusti.cation;........P.'. |
a4c0 | 7c cd 27 8e 8e 8e 91 30 9e a1 63 65 6e 90 b2 21 74 65 72 91 03 a6 66 6a 75 73 74 69 0c 63 61 74 | |.'....0..cen..!ter...fjusti.cat |
a4e0 | 69 6f 6e 2e 8e a4 16 99 9a 8d 8d 8d 91 fd 27 91 d3 6d 8e 8e 91 08 60 d5 cd 49 6e 64 69 63 61 74 | ion...........'..m....`..Indicat |
a500 | 65 73 96 03 a6 66 74 68 65 93 0c 65 6c 64 93 73 69 7a 65 93 69 6e 93 63 90 b2 21 68 61 72 61 63 | es...fthe..eld.size.in.c..!harac |
a520 | 74 65 72 73 2e 8e a1 8d 8d 8d 91 fd 27 91 d3 2e 6e 8e 8e 91 0e 20 7f cd 46 9b ff 16 65 6f 72 96 | ters........'...n.......F...eor. |
a540 | 04 1a 6a 72 65 61 6c 73 2c 91 04 37 6b 69 6e 64 69 63 61 74 65 73 93 74 68 65 93 6e 95 b2 21 75 | ..jreals,..7kindicates.the.n..!u |
a560 | 6d 93 62 90 4d de 65 72 96 04 1a 6a 6f 66 93 64 69 67 69 74 61 6c 93 70 6c 61 63 65 73 2e 91 06 | m.b.M.er...jof.digital.places... |
a580 | 39 e9 46 98 6f 72 93 69 6e 9a b2 21 74 65 67 65 72 73 2c 91 04 37 6b 69 74 93 69 73 93 74 68 65 | 9.F.or.in..!tegers,..7kit.is.the |
a5a0 | 93 6d 69 6e 69 6d 98 75 6d 93 6e 98 75 6d 98 62 90 4d de 65 72 8e a9 0d 99 9a 8d 91 18 87 95 6f | .minim.um.n.um.b.M.er..........o |
a5c0 | 66 96 03 a6 66 64 69 67 69 74 73 2e 91 04 dd dd 54 68 69 73 93 6f 70 74 69 6f 6e 93 68 61 73 93 | f...fdigits.....This.option.has. |
a5e0 | 6e 6f 93 6d 65 61 6e 69 6e 67 93 66 6f 72 93 73 74 72 69 6e 67 73 2e 8e a1 8d 91 0e 27 91 57 68 | no.meaning.for.strings......'.Wh |
a600 | 65 6e 96 03 29 18 63 61 6c 6c 65 64 93 77 69 74 68 6f 75 74 93 61 93 66 6f 72 6d 61 74 93 73 74 | en..).called.without.a.format.st |
a620 | 72 69 6e 67 2c 91 03 42 28 74 68 69 73 93 66 75 6e 63 74 69 6f 6e 93 77 72 69 74 65 73 93 6e 95 | ring,..B(this.function.writes.n. |
a640 | b2 21 75 6d 93 62 90 4d de 65 72 73 96 03 29 18 75 73 69 6e 67 93 74 68 65 93 d3 25 67 93 cd 66 | .!um.b.M.ers..).using.the..%g..f |
a660 | 6f 72 6d 61 74 93 61 6e 64 8e a6 8d 91 fd 27 91 73 74 72 69 6e 67 73 96 03 a6 66 77 69 74 68 93 | ormat.and.....'.strings...fwith. |
a680 | d3 25 73 cd 2e 8e 9f 22 80 41 8d 8d 91 fd 27 91 e2 37 8e 91 15 fe 90 53 6f 6d 65 91 05 85 1c 45 | .%s....".A....'..7.....Some....E |
a6a0 | 78 61 6d 70 6c 65 73 8e 9f 18 71 8b 8d 91 fd 27 91 cd 54 68 69 73 96 04 b7 c6 73 65 63 74 69 6f | xamples...q....'..This....sectio |
a6c0 | 6e 93 67 69 76 9a b2 21 65 73 93 65 78 61 6d 70 6c 65 73 93 73 68 6f 98 77 69 6e 67 93 73 6f 6d | n.giv..!es.examples.sho.wing.som |
a6e0 | 65 93 66 65 61 74 75 72 65 73 93 6f 66 93 4c 75 61 2e 91 08 11 fc 49 74 93 64 6f 90 4d de 65 73 | e.features.of.Lua.....It.do.M.es |
a700 | 93 6e 6f 74 93 69 6e 98 74 65 6e 64 93 74 6f 93 63 6f 98 76 98 65 72 93 74 68 65 8e a6 8d 91 fd | .not.in.tend.to.co.v.er.the..... |
a720 | 27 91 77 68 6f 6c 65 96 03 a6 66 6c 61 6e 67 75 61 67 65 2c 93 62 75 74 93 6f 6e 6c 79 93 74 6f | '.whole...flanguage,.but.only.to |
a740 | 93 69 6c 6c 75 73 74 72 61 74 65 93 73 6f 6d 65 93 69 6e 90 b2 21 74 65 72 65 73 74 69 6e 67 93 | .illustrate.some.in..!teresting. |
a760 | 75 73 65 73 93 6f 66 93 74 68 65 93 73 79 73 74 65 6d 2e 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 37 | uses.of.the.system....R.....'..7 |
a780 | 2e 31 8e 91 1b e7 91 54 68 65 96 04 80 00 46 91 fe e0 00 75 6e 63 74 69 6f 6e 73 93 f3 31 df 86 | .1.....The....F....unctions..1.. |
a7a0 | b5 54 00 0c 00 00 00 0c 00 00 00 06 63 6d 74 74 31 32 dc 6e 65 78 74 93 db 61 6e 64 93 dc 6e 65 | .T..........cmtt12.next..and..ne |
a7c0 | 78 74 76 61 72 8e 9f 14 ab ff 8d 91 fd 27 91 cd 54 68 69 73 96 03 a6 66 65 78 61 6d 70 6c 65 93 | xtvar........'..This...fexample. |
a7e0 | 73 68 6f 9a b2 21 77 73 93 68 6f 98 77 93 74 6f 93 75 73 65 93 74 68 65 93 66 75 6e 63 74 69 6f | sho..!ws.ho.w.to.use.the.functio |
a800 | 6e 93 d3 6e 65 78 74 93 cd 74 6f 93 69 74 65 72 61 74 65 93 6f 98 76 98 65 72 93 74 68 65 93 0c | n..next..to.iterate.o.v.er.the.. |
a820 | 65 6c 64 73 93 6f 66 93 61 93 74 61 62 6c 65 2e 8e a1 8d 91 fd 27 91 d3 66 75 6e 63 74 69 6f 6e | elds.of.a.table......'..function |
a840 | 96 05 bf aa 66 93 28 74 29 91 56 3a f6 2d 2d 93 74 93 69 73 93 61 93 74 61 62 6c 65 8e a6 8d 91 | ....f.(t).V:.--.t.is.a.table.... |
a860 | 08 a6 e5 6c 6f 63 61 6c 96 05 bf aa 69 2c 93 76 93 3d 93 6e 65 78 74 28 74 2c 93 6e 69 6c 29 91 | ...local....i,.v.=.next(t,.nil). |
a880 | 0b 7f 54 2d 2d 93 69 93 69 73 93 61 6e 93 69 6e 64 65 78 93 6f 66 93 74 2c 93 76 93 3d 93 74 5b | ..T--.i.is.an.index.of.t,.v.=.t[ |
a8a0 | 69 5d 8e a6 8d 91 08 a6 e5 77 68 69 6c 65 96 05 bf aa 69 93 64 6f 8e a6 8d 91 14 26 39 2d 2d 96 | i].......while....i.do.....&9--. |
a8c0 | 05 bf aa 64 6f 93 73 6f 6d 65 74 68 69 6e 67 93 77 69 74 68 93 69 93 61 6e 64 93 76 8e a6 8d 91 | ...do.something.with.i.and.v.... |
a8e0 | 14 26 39 69 2c 96 05 bf aa 76 93 3d 93 6e 65 78 74 28 74 2c 93 69 29 91 2d fd 50 2d 2d 93 67 65 | .&9i,....v.=.next(t,.i).-.P--.ge |
a900 | 74 93 6e 65 78 74 93 69 6e 64 65 78 8e a6 8d 91 08 a6 e5 65 6e 64 8e a6 8d 91 fd 27 91 65 6e 64 | t.next.index.......end.....'.end |
a920 | 8e a1 8d 91 0e 27 91 cd 54 68 65 96 03 1c a3 6e 65 78 74 93 65 78 61 6d 70 6c 65 93 70 72 69 6e | .....'..The....next.example.prin |
a940 | 90 b2 21 74 73 93 74 68 65 93 6e 61 6d 65 73 93 6f 66 93 61 6c 6c 93 67 6c 6f 62 61 6c 93 76 9b | ..!ts.the.names.of.all.global.v. |
a960 | ff 64 44 61 72 69 61 62 6c 65 73 93 69 6e 93 74 68 65 93 73 79 73 74 65 6d 93 77 69 74 68 93 6e | .dDariables.in.the.system.with.n |
a980 | 6f 6e 93 6e 69 6c 93 76 98 61 6c 75 65 73 3a 8e a1 8d 91 fd 27 91 d3 66 75 6e 63 74 69 6f 6e 96 | on.nil.v.alues:.....'..function. |
a9a0 | 05 bf aa 70 72 69 6e 74 47 6c 6f 62 61 6c 56 61 72 69 61 62 6c 65 73 93 28 29 8e a6 8d 91 08 a6 | ...printGlobalVariables.()...... |
a9c0 | e5 6c 6f 63 61 6c 96 05 bf aa 69 2c 93 76 93 3d 93 6e 65 78 74 76 61 72 28 6e 69 6c 29 8e a6 8d | .local....i,.v.=.nextvar(nil)... |
a9e0 | 91 08 a6 e5 77 68 69 6c 65 96 05 bf aa 69 93 64 6f 8e a6 8d 91 14 26 39 70 72 69 6e 74 28 69 29 | ....while....i.do.....&9print(i) |
aa00 | 8e a6 8d 91 14 26 39 69 2c 96 05 bf aa 76 93 3d 93 6e 65 78 74 76 61 72 28 69 29 8e a6 8d 91 08 | .....&9i,....v.=.nextvar(i)..... |
aa20 | a6 e5 65 6e 64 8e a6 8d 91 fd 27 91 65 6e 64 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 cd 31 35 8e 8e | ..end.....'.end....s.....t..15.. |
aa40 | 8c 8b 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
aa60 | 00 00 00 00 00 00 00 00 00 00 00 00 a3 17 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 | ..................c...2......|.. |
aa80 | fd 75 e5 6b 8d 8d 91 fd 27 91 db 37 2e 32 8e 91 1b e7 91 53 74 72 69 6e 67 91 04 80 00 4d 61 6e | .u.k....'..7.2.....String....Man |
aaa0 | 69 70 75 6c 61 74 69 6f 6e 8e 9f 14 ab ff 8d 91 fd 27 91 cd 54 68 65 96 03 a6 66 0c 72 73 74 93 | ipulation........'..The...f.rst. |
aac0 | 65 78 61 6d 70 6c 65 93 69 73 93 61 93 66 75 6e 63 74 69 6f 6e 93 74 6f 93 74 72 69 6d 93 65 78 | example.is.a.function.to.trim.ex |
aae0 | 74 72 61 93 62 6c 61 6e 6b 73 93 61 74 93 74 68 65 93 62 90 4d de 65 67 69 6e 6e 69 6e 67 93 61 | tra.blanks.at.the.b.M.eginning.a |
ab00 | 6e 64 93 65 6e 64 93 6f 66 93 61 93 73 74 72 69 6e 67 2e 8e a9 16 99 9a 8d 91 fd 27 91 d3 66 75 | nd.end.of.a.string.........'..fu |
ab20 | 6e 63 74 69 6f 6e 91 05 bf aa 74 72 69 6d 28 73 29 8e a4 0d 99 9a 8d 91 08 a6 e5 6c 6f 63 61 6c | nction....trim(s)..........local |
ab40 | 96 05 bf aa 69 93 3d 93 31 8e a1 8d 91 08 a6 e5 77 68 69 6c 65 96 05 bf aa 73 74 72 73 75 62 28 | ....i.=.1.......while....strsub( |
ab60 | 73 2c 69 2c 69 29 93 3d 93 27 93 27 93 64 6f 8e a1 8d 91 14 26 39 69 96 05 bf aa 3d 93 69 2b 31 | s,i,i).=.'.'.do.....&9i....=.i+1 |
ab80 | 8e a1 8d 91 08 a6 e5 65 6e 64 8e a1 8d 91 08 a6 e5 6c 6f 63 61 6c 96 05 bf aa 6c 93 3d 93 73 74 | .......end.......local....l.=.st |
aba0 | 72 6c 65 6e 28 73 29 8e a1 8d 91 08 a6 e5 77 68 69 6c 65 96 05 bf aa 73 74 72 73 75 62 28 73 2c | rlen(s).......while....strsub(s, |
abc0 | 6c 2c 6c 29 93 3d 93 27 93 27 93 64 6f 8e a1 8d 91 14 26 39 6c 96 05 bf aa 3d 93 6c 2d 31 8e a1 | l,l).=.'.'.do.....&9l....=.l-1.. |
abe0 | 8d 91 08 a6 e5 65 6e 64 8e a1 8d 91 08 a6 e5 72 65 74 75 72 6e 91 05 bf aa 73 74 72 73 75 62 28 | .....end.......return....strsub( |
ac00 | 73 2c 69 2c 6c 29 8e a1 8d 91 fd 27 91 65 6e 64 8e a6 8d 91 0e 27 91 cd 54 68 65 96 03 a6 66 73 | s,i,l).....'.end.....'..The...fs |
ac20 | 65 63 6f 6e 64 93 65 78 61 6d 70 6c 65 93 73 68 6f 90 b2 21 77 73 93 61 93 66 75 6e 63 74 69 6f | econd.example.sho..!ws.a.functio |
ac40 | 6e 93 74 68 61 74 93 65 6c 69 6d 69 6e 61 74 65 73 93 61 6c 6c 93 62 6c 61 6e 6b 73 93 6f 66 93 | n.that.eliminates.all.blanks.of. |
ac60 | 61 93 73 74 72 69 6e 67 2e 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 31 36 8e 8e 8c 8b 00 00 00 11 00 | a.string.....s.....t.16......... |
ac80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
aca0 | 00 00 00 00 00 aa 41 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 91 fd | ......A....c...2......|...u.k... |
acc0 | 27 91 d3 66 75 6e 63 74 69 6f 6e 96 05 bf aa 72 65 6d 6f 76 65 5f 62 6c 61 6e 6b 73 93 28 73 29 | '..function....remove_blanks.(s) |
ace0 | 8e a4 0d 99 9a 8d 91 08 a6 e5 6c 6f 63 61 6c 96 05 bf aa 62 93 3d 93 73 74 72 66 69 6e 64 28 73 | ..........local....b.=.strfind(s |
ad00 | 2c 93 27 93 27 29 8e a1 8d 91 08 a6 e5 77 68 69 6c 65 96 05 bf aa 62 93 64 6f 8e a1 8d 91 14 26 | ,.'.').......while....b.do.....& |
ad20 | 39 73 96 05 bf aa 3d 93 73 74 72 73 75 62 28 73 2c 93 31 2c 93 62 2d 31 29 93 2e 2e 93 73 74 72 | 9s....=.strsub(s,.1,.b-1)....str |
ad40 | 73 75 62 28 73 2c 93 62 2b 31 29 8e a1 8d 91 14 26 39 62 96 05 bf aa 3d 93 73 74 72 66 69 6e 64 | sub(s,.b+1).....&9b....=.strfind |
ad60 | 28 73 2c 93 27 93 27 29 8e a1 8d 91 08 a6 e5 65 6e 64 8e a1 8d 91 08 a6 e5 72 65 74 75 72 6e 91 | (s,.'.').......end.......return. |
ad80 | 05 bf aa 73 8e a1 8d 91 fd 27 91 65 6e 64 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 37 2e 33 8e 91 1b | ...s.....'.end...R.....'..7.3... |
ada0 | e7 91 50 90 a0 00 65 72 73 69 73 74 65 6e 63 65 8e 9f 14 ab ff 8d 91 fd 27 91 cd 42 65 63 61 75 | ..P...ersistence........'..Becau |
adc0 | 73 65 96 04 65 83 6f 66 93 69 74 73 93 72 65 0d 65 78 69 76 90 b2 21 65 93 66 61 63 69 6c 69 74 | se..e.of.its.re.exiv..!e.facilit |
ade0 | 69 65 73 2c 91 04 95 4a 70 9a 4d de 65 72 73 69 73 74 65 6e 63 65 93 69 6e 93 4c 75 61 93 63 61 | ies,...Jp.M.ersistence.in.Lua.ca |
ae00 | 6e 93 62 98 65 93 61 63 95 b2 21 68 69 65 76 93 65 64 96 04 65 83 77 69 74 68 93 4c 75 61 2e 91 | n.b.e.ac..!hiev.ed..e.with.Lua.. |
ae20 | 07 1b 33 54 68 69 73 93 73 65 63 74 69 6f 6e 8e a1 8d 91 fd 27 91 73 68 6f 9a b2 21 77 73 96 03 | ..3This.section.....'.sho..!ws.. |
ae40 | c9 15 73 6f 6d 65 93 77 98 61 98 79 73 93 74 6f 93 73 74 6f 72 65 93 61 6e 64 93 72 65 74 72 69 | ..some.w.a.ys.to.store.and.retri |
ae60 | 65 76 98 65 93 76 91 ff 64 44 61 6c 75 65 73 93 69 6e 93 4c 75 61 2c 91 03 d1 c0 75 73 69 6e 67 | ev.e.v..dDalues.in.Lua,....using |
ae80 | 93 61 93 74 65 78 74 93 0c 6c 65 93 77 72 69 74 74 65 6e 93 69 6e 93 74 68 65 93 6c 61 6e 67 75 | .a.text..le.written.in.the.langu |
aea0 | 61 67 65 8e a1 8d 91 fd 27 91 69 74 73 65 6c 66 96 03 a6 66 61 73 93 74 68 65 93 73 74 6f 72 61 | age.....'.itself...fas.the.stora |
aec0 | 67 65 93 6d 65 64 69 61 2e 8e a1 8d 91 0e 27 91 54 91 ff 16 65 6f 96 03 a6 66 73 74 6f 72 65 93 | ge.media......'.T...eo...fstore. |
aee0 | 61 93 73 69 6e 67 6c 65 93 76 91 ff 64 44 61 6c 75 65 93 77 69 74 68 93 61 93 6e 61 6d 65 2c 93 | a.single.v..dDalue.with.a.name,. |
af00 | 74 68 65 93 66 6f 6c 6c 6f 90 b2 21 77 69 6e 67 93 63 6f 90 4d de 64 65 93 69 73 93 65 6e 6f 75 | the.follo..!wing.co.M.de.is.enou |
af20 | 67 68 3a 8e 9f 16 99 9a 8d 91 fd 27 91 d3 66 75 6e 63 74 69 6f 6e 96 05 bf aa 73 74 6f 72 65 93 | gh:........'..function....store. |
af40 | 28 6e 61 6d 65 2c 93 76 61 6c 75 65 29 8e a1 8d 91 08 a6 e5 77 72 69 74 65 28 27 5c 6e 27 96 05 | (name,.value).......write('\n'.. |
af60 | bf aa 2e 2e 93 6e 61 6d 65 93 2e 2e 93 27 3d 27 29 8e a1 8d 91 08 a6 e5 77 72 69 74 65 5f 76 61 | .....name....'=').......write_va |
af80 | 6c 75 65 28 76 61 6c 75 65 29 8e a1 8d 91 fd 27 91 65 6e 64 8e a9 19 99 9a 8d 91 fd 27 91 66 75 | lue(value).....'.end........'.fu |
afa0 | 6e 63 74 69 6f 6e 96 05 bf aa 77 72 69 74 65 5f 76 61 6c 75 65 93 28 76 61 6c 75 65 29 8e a1 8d | nction....write_value.(value)... |
afc0 | 91 08 a6 e5 6c 6f 63 61 6c 96 05 bf aa 74 93 3d 93 74 79 70 65 28 76 61 6c 75 65 29 8e a1 8d 91 | ....local....t.=.type(value).... |
afe0 | 1f a5 8d 69 66 96 05 bf aa 74 93 3d 93 27 6e 69 6c 27 91 16 fe a8 74 68 65 6e 93 77 72 69 74 65 | ...if....t.=.'nil'....then.write |
b000 | 28 27 6e 69 6c 27 29 8e a1 8d 91 08 a6 e5 65 6c 73 65 69 66 96 05 bf aa 74 93 3d 93 27 6e 75 6d | ('nil').......elseif....t.=.'num |
b020 | 62 65 72 27 93 74 68 65 6e 93 77 72 69 74 65 28 76 61 6c 75 65 29 8e a1 8d 91 08 a6 e5 65 6c 73 | ber'.then.write(value).......els |
b040 | 65 69 66 96 05 bf aa 74 93 3d 93 27 73 74 72 69 6e 67 27 93 74 68 65 6e 93 77 72 69 74 65 28 27 | eif....t.=.'string'.then.write(' |
b060 | 22 27 93 2e 2e 93 76 61 6c 75 65 93 2e 2e 93 27 22 27 29 8e a1 8d 91 08 a6 e5 65 6e 64 8e a1 8d | "'....value....'"').......end... |
b080 | 91 fd 27 91 65 6e 64 8e a6 8d 91 fd 27 91 cd 49 6e 96 03 a6 66 6f 72 64 65 72 93 74 6f 93 72 65 | ..'.end.....'..In...forder.to.re |
b0a0 | 73 74 6f 72 65 93 74 68 69 73 93 76 91 ff 64 44 61 6c 75 65 2c 93 61 93 d3 6c 75 61 5f 64 6f 66 | store.this.v..dDalue,.a..lua_dof |
b0c0 | 69 6c 65 93 cd 73 75 0e 63 65 73 2e 8e a1 8d 91 0e 27 91 53 74 6f 72 69 6e 67 96 04 0f 54 74 61 | ile..su.ces......'.Storing...Tta |
b0e0 | 62 6c 65 73 93 69 73 93 61 93 6c 69 74 74 6c 65 93 6d 6f 72 65 93 63 6f 6d 70 6c 65 78 2e 91 06 | bles.is.a.little.more.complex... |
b100 | 18 a6 41 73 73 75 6d 69 6e 67 93 74 68 61 74 93 74 68 65 93 74 61 62 6c 65 93 69 73 93 61 93 74 | ..Assuming.that.the.table.is.a.t |
b120 | 72 65 65 2c 91 04 29 8f 61 6e 64 93 61 6c 6c 93 69 6e 64 69 63 65 73 8e a1 8d 91 fd 27 91 61 72 | ree,..).and.all.indices.....'.ar |
b140 | 65 96 03 e3 32 69 64 65 6e 90 b2 21 74 69 0c 65 72 73 93 28 74 68 61 74 93 69 73 2c 9b 03 f2 65 | e...2iden..!ti.ers.(that.is,...e |
b160 | 74 68 65 93 74 61 62 6c 65 73 93 61 72 65 93 62 90 4d de 65 69 6e 67 93 75 73 65 64 93 61 73 93 | the.tables.are.b.M.eing.used.as. |
b180 | 72 65 63 6f 72 64 73 29 2c 98 69 74 73 93 76 91 ff 64 44 61 6c 75 65 93 63 61 6e 93 62 90 4d de | records),.its.v..dDalue.can.b.M. |
b1a0 | 65 93 77 72 69 74 74 65 6e 93 64 69 72 65 63 74 6c 79 8e a1 8d 91 fd 27 91 77 69 74 68 96 03 a6 | e.written.directly.....'.with... |
b1c0 | 66 74 61 62 6c 65 93 63 6f 6e 73 74 72 75 63 74 6f 72 73 2e 91 04 dd dd 46 69 72 73 74 2c 93 74 | ftable.constructors.....First,.t |
b1e0 | 68 65 93 66 75 6e 63 74 69 6f 6e 93 d3 77 72 69 74 65 5f 76 61 6c 75 65 93 cd 69 73 93 63 90 b2 | he.function..write_value..is.c.. |
b200 | 21 68 61 6e 67 65 64 93 74 6f 8e a9 16 99 9a 8d 91 fd 27 91 d3 66 75 6e 63 74 69 6f 6e 96 05 bf | !hanged.to........'..function... |
b220 | aa 77 72 69 74 65 5f 76 61 6c 75 65 93 28 76 61 6c 75 65 29 8e a1 8d 91 08 a6 e5 6c 6f 63 61 6c | .write_value.(value).......local |
b240 | 96 05 bf aa 74 93 3d 93 74 79 70 65 28 76 61 6c 75 65 29 8e a1 8d 91 1f a5 8d 69 66 96 05 bf aa | ....t.=.type(value).......if.... |
b260 | 74 93 3d 93 27 6e 69 6c 27 91 16 fe a8 74 68 65 6e 93 77 72 69 74 65 28 27 6e 69 6c 27 29 8e a1 | t.=.'nil'....then.write('nil').. |
b280 | 8d 91 08 a6 e5 65 6c 73 65 69 66 96 05 bf aa 74 93 3d 93 27 6e 75 6d 62 65 72 27 93 74 68 65 6e | .....elseif....t.=.'number'.then |
b2a0 | 93 77 72 69 74 65 28 76 61 6c 75 65 29 8e a1 8d 91 08 a6 e5 65 6c 73 65 69 66 96 05 bf aa 74 93 | .write(value).......elseif....t. |
b2c0 | 3d 93 27 73 74 72 69 6e 67 27 93 74 68 65 6e 93 77 72 69 74 65 28 27 22 27 93 2e 2e 93 76 61 6c | =.'string'.then.write('"'....val |
b2e0 | 75 65 93 2e 2e 93 27 22 27 29 8e a1 8d 91 08 a6 e5 65 6c 73 65 69 66 96 05 bf aa 74 93 3d 93 27 | ue....'"').......elseif....t.=.' |
b300 | 74 61 62 6c 65 27 91 0b 7f 54 74 68 65 6e 93 77 72 69 74 65 5f 72 65 63 6f 72 64 28 76 61 6c 75 | table'...Tthen.write_record(valu |
b320 | 65 29 8e a1 8d 91 08 a6 e5 65 6e 64 8e a1 8d 91 fd 27 91 65 6e 64 8e a6 8d 91 fd 27 91 cd 54 68 | e).......end.....'.end.....'..Th |
b340 | 65 96 03 a6 66 66 75 6e 63 74 69 6f 6e 93 d3 77 72 69 74 65 5f 72 65 63 6f 72 64 93 cd 69 73 3a | e...ffunction..write_record..is: |
b360 | 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 31 37 8e 8e 8c 8b 00 00 00 12 00 00 00 00 00 00 00 00 00 00 | ....s.....t.17.................. |
b380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ac 7a a0 02 | .............................z.. |
b3a0 | cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 fd 75 e5 6b 8d 91 fd 27 91 d3 66 75 6e 63 74 69 | ..c...2......|...u.k...'..functi |
b3c0 | 6f 6e 91 05 bf aa 77 72 69 74 65 5f 72 65 63 6f 72 64 28 74 29 8e a4 0d 99 9a 8d 91 08 a6 e5 6c | on....write_record(t)..........l |
b3e0 | 6f 63 61 6c 96 05 bf aa 69 2c 93 76 93 3d 93 6e 65 78 74 28 74 2c 93 6e 69 6c 29 8e a1 8d 91 08 | ocal....i,.v.=.next(t,.nil)..... |
b400 | a6 e5 77 72 69 74 65 28 27 40 7b 27 29 91 0b 7f 54 2d 2d 96 05 bf aa 73 74 61 72 74 73 93 63 6f | ..write('@{')...T--....starts.co |
b420 | 6e 73 74 72 75 63 74 6f 72 8e a1 8d 91 08 a6 e5 77 68 69 6c 65 96 05 bf aa 69 93 64 6f 8e a1 8d | nstructor.......while....i.do... |
b440 | 91 14 26 39 73 74 6f 72 65 28 69 2c 91 05 bf aa 76 29 8e a1 8d 91 14 26 39 69 2c 96 05 bf aa 76 | ..&9store(i,....v).....&9i,....v |
b460 | 93 3d 93 6e 65 78 74 28 74 2c 93 69 29 8e a1 8d 91 14 26 39 69 66 96 05 bf aa 69 93 74 68 65 6e | .=.next(t,.i).....&9if....i.then |
b480 | 93 77 72 69 74 65 28 27 2c 93 27 29 93 65 6e 64 8e a1 8d 91 08 a6 e5 65 6e 64 8e a1 8d 91 08 a6 | .write(',.').end.......end...... |
b4a0 | e5 77 72 69 74 65 28 27 7d 27 29 91 0b 7f 54 2d 2d 96 05 bf aa 63 6c 6f 73 65 73 93 63 6f 6e 73 | .write('}')...T--....closes.cons |
b4c0 | 74 72 75 63 74 6f 72 8e a1 8d 91 fd 27 91 65 6e 64 8e 9f 1d 52 85 8d 8d 91 fd 27 91 db 37 2e 34 | tructor.....'.end...R.....'..7.4 |
b4e0 | 8e 91 1b e7 91 41 91 04 80 00 43 66 75 6e 63 74 69 6f 6e 8e 9f 14 ab ff 8d 91 fd 27 91 cd 41 96 | .....A....Cfunction........'..A. |
b500 | 03 a6 66 43 66 75 6e 63 74 69 6f 6e 93 74 6f 93 63 6f 6d 70 75 74 65 93 74 68 65 93 6d 61 78 69 | ..fCfunction.to.compute.the.maxi |
b520 | 6d 9a b2 21 75 6d 93 6f 66 93 61 93 76 91 ff 64 44 61 72 69 61 62 6c 65 93 6e 98 75 6d 98 62 90 | m..!um.of.a.v..dDariable.n.um.b. |
b540 | 4d de 65 72 93 6f 66 93 61 72 67 75 6d 65 6e 98 74 73 93 6d 61 98 79 93 62 90 4d de 65 93 77 72 | M.er.of.argumen.ts.ma.y.b.M.e.wr |
b560 | 69 74 74 65 6e 93 61 73 3a 8e a9 16 99 9a 8d 91 fd 27 91 d3 76 6f 69 64 96 05 bf aa 6d 61 74 68 | itten.as:........'..void....math |
b580 | 5f 6d 61 78 93 28 76 6f 69 64 29 8e a1 8d 91 fd 27 91 7b 8e a1 8d 91 02 e7 3b 69 6e 74 96 05 bf | _max.(void).....'.{......;int... |
b5a0 | aa 69 3d 31 3b 91 11 3e fe 2f 2a 93 6e 75 6d 62 65 72 93 6f 66 93 61 72 67 75 6d 65 6e 74 73 93 | .i=1;..>./*.number.of.arguments. |
b5c0 | 2a 2f 8e a1 8d 91 02 e7 3b 64 6f 75 62 6c 65 96 05 bf aa 64 2c 93 64 6d 61 78 3b 8e a1 8d 91 02 | */......;double....d,.dmax;..... |
b5e0 | e7 3b 6c 75 61 5f 4f 62 6a 65 63 74 91 05 bf aa 6f 3b 8e a1 8d 91 02 e7 3b 2f 2a 96 05 bf aa 74 | .;lua_Object....o;......;/*....t |
b600 | 68 65 93 66 75 6e 63 74 69 6f 6e 93 6d 75 73 74 93 67 65 74 93 61 74 93 6c 65 61 73 74 93 6f 6e | he.function.must.get.at.least.on |
b620 | 65 93 61 72 67 75 6d 65 6e 74 93 2a 2f 8e a1 8d 91 02 e7 3b 69 66 96 05 bf aa 28 28 6f 93 3d 93 | e.argument.*/......;if....((o.=. |
b640 | 6c 75 61 5f 67 65 74 70 61 72 61 6d 28 69 2b 2b 29 29 93 3d 3d 93 30 29 8e a1 8d 91 02 e7 3b 7b | lua_getparam(i++)).==.0)......;{ |
b660 | 96 05 bf aa 6c 75 61 5f 65 72 72 6f 72 93 28 22 74 6f 6f 93 66 65 77 93 61 72 67 75 6d 65 6e 74 | ....lua_error.("too.few.argument |
b680 | 73 93 74 6f 93 66 75 6e 63 74 69 6f 6e 93 60 6d 61 78 27 22 29 3b 93 72 65 74 75 72 6e 3b 93 7d | s.to.function.`max'");.return;.} |
b6a0 | 8e a1 8d 91 02 e7 3b 2f 2a 96 05 bf aa 61 6e 64 93 74 68 69 73 93 61 72 67 75 6d 65 6e 74 93 6d | ......;/*....and.this.argument.m |
b6c0 | 75 73 74 93 62 65 93 61 93 6e 75 6d 62 65 72 93 2a 2f 8e a1 8d 91 02 e7 3b 69 66 91 05 bf aa 28 | ust.be.a.number.*/......;if....( |
b6e0 | 21 6c 75 61 5f 69 73 6e 75 6d 62 65 72 28 6f 29 29 8e a1 8d 91 02 e7 3b 7b 96 05 bf aa 6c 75 61 | !lua_isnumber(o))......;{....lua |
b700 | 5f 65 72 72 6f 72 93 28 22 69 6e 63 6f 72 72 65 63 74 93 61 72 67 75 6d 65 6e 74 73 93 74 6f 93 | _error.("incorrect.arguments.to. |
b720 | 66 75 6e 63 74 69 6f 6e 93 60 6d 61 78 27 22 29 3b 93 72 65 74 75 72 6e 3b 93 7d 8e a1 8d 91 02 | function.`max'");.return;.}..... |
b740 | e7 3b 64 6d 61 78 96 05 bf aa 3d 93 6c 75 61 5f 67 65 74 6e 75 6d 62 65 72 93 28 6f 29 3b 8e a1 | .;dmax....=.lua_getnumber.(o);.. |
b760 | 8d 91 02 e7 3b 2f 2a 96 05 bf aa 6c 6f 6f 70 73 93 75 6e 74 69 6c 93 74 68 65 72 65 93 69 73 93 | ....;/*....loops.until.there.is. |
b780 | 6e 6f 93 6d 6f 72 65 93 61 72 67 75 6d 65 6e 74 73 93 2a 2f 8e a1 8d 91 02 e7 3b 77 68 69 6c 65 | no.more.arguments.*/......;while |
b7a0 | 96 05 bf aa 28 28 6f 93 3d 93 6c 75 61 5f 67 65 74 70 61 72 61 6d 28 69 2b 2b 29 29 93 21 3d 93 | ....((o.=.lua_getparam(i++)).!=. |
b7c0 | 30 29 8e a1 8d 91 02 e7 3b 7b 8e a1 8d 91 08 a6 e5 69 66 91 05 bf aa 28 21 6c 75 61 5f 69 73 6e | 0)......;{.......if....(!lua_isn |
b7e0 | 75 6d 62 65 72 28 6f 29 29 8e a1 8d 91 08 a6 e5 7b 96 05 bf aa 6c 75 61 5f 65 72 72 6f 72 93 28 | umber(o)).......{....lua_error.( |
b800 | 22 69 6e 63 6f 72 72 65 63 74 93 61 72 67 75 6d 65 6e 74 73 93 74 6f 93 66 75 6e 63 74 69 6f 6e | "incorrect.arguments.to.function |
b820 | 93 60 6d 61 78 27 22 29 3b 93 72 65 74 75 72 6e 3b 93 7d 8e a1 8d 91 08 a6 e5 64 96 05 bf aa 3d | .`max'");.return;.}.......d....= |
b840 | 93 6c 75 61 5f 67 65 74 6e 75 6d 62 65 72 93 28 6f 29 3b 8e a1 8d 91 08 a6 e5 69 66 96 05 bf aa | .lua_getnumber.(o);.......if.... |
b860 | 28 64 93 3e 93 64 6d 61 78 29 93 64 6d 61 78 93 3d 93 64 3b 8e a1 8d 91 02 e7 3b 7d 8e a1 8d 91 | (d.>.dmax).dmax.=.d;......;}.... |
b880 | 02 e7 3b 2f 2a 96 05 bf aa 70 75 73 68 93 74 68 65 93 72 65 73 75 6c 74 93 74 6f 93 62 65 93 72 | ..;/*....push.the.result.to.be.r |
b8a0 | 65 74 75 72 6e 65 64 93 2a 2f 8e a1 8d 91 02 e7 3b 6c 75 61 5f 70 75 73 68 6e 75 6d 62 65 72 91 | eturned.*/......;lua_pushnumber. |
b8c0 | 05 bf aa 28 64 6d 61 78 29 3b 8e a1 8d 91 fd 27 91 7d 8e a6 8d 91 0e 27 91 cd 41 66 74 65 72 96 | ...(dmax);.....'.}.....'..After. |
b8e0 | 03 a6 66 72 65 67 69 73 74 65 72 65 64 93 77 69 74 68 8e a6 8d 91 fd 27 91 d3 6c 75 61 5f 72 65 | ..fregistered.with.....'..lua_re |
b900 | 67 69 73 74 65 72 91 05 bf aa 28 22 6d 61 78 22 2c 91 11 3e fe 6d 61 74 68 5f 6d 61 78 29 3b 8e | gister....("max",..>.math_max);. |
b920 | a6 8d 91 fd 27 91 cd 74 68 69 73 96 03 a6 66 66 75 6e 63 74 69 6f 6e 93 69 73 93 61 9a b2 21 76 | ....'..this...ffunction.is.a..!v |
b940 | 91 ff 64 44 61 69 6c 61 62 6c 65 93 69 6e 93 4c 75 61 2c 93 61 73 93 66 6f 6c 6c 6f 98 77 73 3a | ..dDailable.in.Lua,.as.follo.ws: |
b960 | 8e a6 8d 91 fd 27 91 d3 69 96 05 bf aa 3d 93 6d 61 78 28 34 2c 93 35 2c 93 31 30 2c 93 2d 33 34 | .....'..i....=.max(4,.5,.10,.-34 |
b980 | 29 91 0b 7f 54 2d 2d 93 69 93 72 65 63 65 69 76 65 73 93 31 30 8e 9f 1d 52 85 8d 8d 91 fd 27 91 | )...T--.i.receives.10...R.....'. |
b9a0 | db 37 2e 35 8e 91 1b e7 91 43 61 6c 6c 69 6e 67 96 04 80 00 4c 75 61 93 46 91 fe e0 00 75 6e 63 | .7.5.....Calling....Lua.F....unc |
b9c0 | 74 69 6f 6e 73 8e 9f 14 ab ff 8d 91 fd 27 91 cd 54 68 69 73 96 03 69 39 65 78 61 6d 70 6c 65 93 | tions........'..This..i9example. |
b9e0 | 69 6c 6c 75 73 74 72 61 74 65 73 93 68 6f 9a b2 21 77 93 61 93 43 91 03 69 2a 66 75 6e 63 74 69 | illustrates.ho..!w.a.C..i*functi |
ba00 | 6f 6e 93 63 61 6e 93 63 61 6c 6c 93 74 68 65 93 4c 75 61 93 66 75 6e 63 74 69 6f 6e 93 d3 72 65 | on.can.call.the.Lua.function..re |
ba20 | 6d 6f 76 65 5f 62 6c 61 6e 6b 73 93 cd 70 72 65 73 65 6e 98 74 65 64 8e a1 8d 91 fd 27 91 69 6e | move_blanks..presen.ted.....'.in |
ba40 | 96 03 a6 66 53 65 63 74 69 6f 6e 93 37 2e 32 2e 8e 8e 9f 1c 73 e7 8d 92 00 d8 74 d4 31 38 8e 8e | ...fSection.7.2.....s.....t.18.. |
ba60 | 8c 8b 00 00 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
ba80 | 00 00 00 00 00 00 00 00 00 00 00 00 b3 71 a0 02 cd 02 63 8d a0 fd 32 fd 9d a0 02 b0 8e 7c 8d a0 | .............q....c...2......|.. |
baa0 | fd 75 e5 6b 8d 91 fd 27 91 d3 76 6f 69 64 96 05 bf aa 72 65 6d 6f 76 65 5f 62 6c 61 6e 6b 73 93 | .u.k...'..void....remove_blanks. |
bac0 | 28 63 68 61 72 93 2a 73 29 8e a4 0d 99 9a 8d 91 fd 27 91 7b 8e a1 8d 91 08 a6 e5 6c 75 61 5f 70 | (char.*s)........'.{.......lua_p |
bae0 | 75 73 68 73 74 72 69 6e 67 28 73 29 3b 91 0b 7f 54 2f 2a 96 05 bf aa 70 72 65 70 61 72 65 93 70 | ushstring(s);...T/*....prepare.p |
bb00 | 61 72 61 6d 65 74 65 72 93 2a 2f 8e a1 8d 91 08 a6 e5 6c 75 61 5f 63 61 6c 6c 28 22 72 65 6d 6f | arameter.*/.......lua_call("remo |
bb20 | 76 65 5f 62 6c 61 6e 6b 73 22 2c 96 05 bf aa 31 29 3b 91 0b 7f 54 2f 2a 93 63 61 6c 6c 93 4c 75 | ve_blanks",....1);...T/*.call.Lu |
bb40 | 61 93 66 75 6e 63 74 69 6f 6e 93 77 69 74 68 93 31 93 70 61 72 61 6d 65 74 65 72 93 2a 2f 8e a1 | a.function.with.1.parameter.*/.. |
bb60 | 8d 91 08 a6 e5 73 74 72 63 70 79 28 73 2c 96 05 bf aa 6c 75 61 5f 67 65 74 73 74 72 69 6e 67 28 | .....strcpy(s,....lua_getstring( |
bb80 | 6c 75 61 5f 70 6f 70 28 29 29 29 3b 91 0b 7f 54 2f 2a 93 63 6f 70 79 93 72 65 73 75 6c 74 93 62 | lua_pop()));...T/*.copy.result.b |
bba0 | 61 63 6b 93 74 6f 93 27 73 27 93 2a 2f 8e a1 8d 91 fd 27 91 7d 8e 9f 22 80 41 8d 91 fd 27 91 e2 | ack.to.'s'.*/.....'.}..".A...'.. |
bbc0 | 41 63 95 8a 3d 6b 6e 6f 93 77 6c 65 64 67 6d 65 6e 93 74 73 8e 9f 18 71 8b 8d 91 fd 27 91 cd 54 | Ac..=kno.wledgmen.ts...q....'..T |
bbe0 | 68 65 96 04 0c e0 61 75 74 68 6f 72 73 93 77 9a b2 21 6f 75 6c 64 93 6c 69 6b 98 65 93 74 6f 93 | he....authors.w..!ould.lik.e.to. |
bc00 | 74 68 61 6e 6b 93 43 45 4e 50 45 53 2f 50 45 54 52 98 4f 42 52 8d 91 01 5e 67 9f fd 3b 6a 13 8e | thank.CENPES/PETR.OBR...^g..;j.. |
bc20 | 41 53 91 04 0c c5 77 68 69 63 98 68 2c 91 04 26 7e 6a 6f 69 6e 98 74 6c 79 93 77 69 74 68 93 54 | AS....whic.h,..&~join.tly.with.T |
bc40 | 91 ff 16 65 65 43 47 72 61 66 2c 91 04 26 7e 75 73 65 64 8e a1 8d 91 fd 27 91 65 78 74 65 6e 73 | ...eeCGraf,..&~used.....'.extens |
bc60 | 69 76 9a b2 21 65 6c 79 96 03 79 77 65 61 72 6c 79 93 76 98 65 72 73 69 6f 6e 73 93 6f 66 93 74 | iv..!ely..ywearly.v.ersions.of.t |
bc80 | 68 69 73 93 73 79 73 74 65 6d 93 61 6e 64 93 67 61 98 76 98 65 93 76 91 ff 64 44 61 6c 75 61 62 | his.system.and.ga.v.e.v..dDaluab |
bca0 | 6c 65 93 63 6f 6d 6d 65 6e 98 74 73 2e 91 04 ce e3 54 68 65 93 61 75 74 68 6f 72 73 93 77 98 6f | le.commen.ts.....The.authors.w.o |
bcc0 | 75 6c 64 93 61 6c 73 6f 8e a1 8d 91 fd 27 91 6c 69 6b 90 b2 21 65 96 03 a6 66 74 6f 93 74 68 61 | uld.also.....'.lik..!e...fto.tha |
bce0 | 6e 6b 93 43 61 72 6c 6f 73 93 48 65 6e 72 69 71 75 65 93 4c 65 76 79 91 ff 16 65 2c 93 77 68 6f | nk.Carlos.Henrique.Levy...e,.who |
bd00 | 93 66 6f 75 6e 64 93 74 68 65 93 6e 61 6d 65 93 6f 66 93 74 68 65 93 67 61 6d 65 2e 8e 8e 9f 1c | .found.the.name.of.the.game..... |
bd20 | 73 e7 8d 92 00 d8 74 d4 31 39 8e 8e 8c f8 00 00 ba 61 01 83 92 c0 1c 3b 00 00 00 00 03 e8 02 cd | s.....t.19.......a.....;........ |
bd40 | 02 63 01 be b5 4b 00 08 00 13 f3 39 44 d3 ed 74 00 11 47 ae 00 11 47 ae 00 05 63 6d 72 31 37 f3 | .c...K.....9D..t..G...G...cmr17. |
bd60 | 37 1a f2 22 56 00 0e 66 66 00 0a 00 00 00 06 63 6d 62 78 31 30 f3 31 df 86 b5 54 00 0c 00 00 00 | 7.."V..ff......cmbx10.1...T..... |
bd80 | 0c 00 00 00 06 63 6d 74 74 31 32 f3 30 c2 d6 4e a0 00 0c 00 00 00 0c 00 00 00 06 63 6d 62 78 31 | .....cmtt12.0..N...........cmbx1 |
bda0 | 32 f3 2b 58 ab 51 0b 00 0c 00 00 00 0c 00 00 00 05 63 6d 72 31 32 f3 28 df ea 3c 78 00 0a f3 33 | 2.+X.Q...........cmr12.(..<x...3 |
bdc0 | 00 0a 00 00 00 06 63 6d 74 74 31 30 f3 27 1a f2 22 56 00 0a f3 33 00 0a 00 00 00 06 63 6d 62 78 | ......cmtt10.'.."V...3......cmbx |
bde0 | 31 30 f3 25 fd 00 27 3a 00 0a f3 33 00 0a 00 00 00 06 63 6d 74 69 31 30 f3 24 21 22 2c 9a 00 0a | 10.%..':...3......cmti10.$!",... |
be00 | f3 33 00 0a 00 00 00 06 63 6d 73 79 31 30 f3 22 4b f1 60 79 00 0a f3 33 00 0a 00 00 00 05 63 6d | .3......cmsy10."K.`y...3......cm |
be20 | 72 31 30 f3 1e 1a f2 22 56 00 0a 00 00 00 0a 00 00 00 06 63 6d 62 78 31 30 f3 19 4b f1 60 79 00 | r10...."V..........cmbx10..K.`y. |
be40 | 0a 00 00 00 0a 00 00 00 05 63 6d 72 31 30 f3 15 bc 6a 91 b9 00 09 00 00 00 09 00 00 00 05 63 6d | .........cmr10...j............cm |
be60 | 74 69 39 f3 14 a9 b1 90 ca 00 09 00 00 00 09 00 00 00 05 63 6d 73 79 39 f3 12 6f b4 8b c7 00 09 | ti9................cmsy9..o..... |
be80 | 00 00 00 09 00 00 00 04 63 6d 72 39 f3 0d 7c 7b 59 07 00 08 00 00 00 08 00 00 00 04 63 6d 72 38 | ........cmr9..|{Y...........cmr8 |
bea0 | f3 04 b9 41 61 a8 00 06 00 00 00 06 00 00 00 04 63 6d 72 36 f9 00 00 bd 2d 02 df df df df df df | ...Aa...........cmr6....-....... |