<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.aasimon.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.aasimon.org/feed.php">
        <title>Aasimon.org Wiki - lua</title>
        <description></description>
        <link>https://wiki.aasimon.org/</link>
        <image rdf:resource="https://wiki.aasimon.org/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-05-01T14:32:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.aasimon.org/doku.php?id=lua:lua&amp;rev=1334922813&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.aasimon.org/lib/exe/fetch.php?media=logo.png">
        <title>Aasimon.org Wiki</title>
        <link>https://wiki.aasimon.org/</link>
        <url>https://wiki.aasimon.org/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="https://wiki.aasimon.org/doku.php?id=lua:lua&amp;rev=1334922813&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-20T11:53:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>lua</title>
        <link>https://wiki.aasimon.org/doku.php?id=lua:lua&amp;rev=1334922813&amp;do=diff</link>
        <description>LUA

C/C++

Arrays


myarray = {1,2,3};


corresponds to


lua_createtable(L, 0, 3);
int top = lua_gettop(L);
// add '1' to the list
lua_pushinteger(L, 1);
lua_rawseti(L, top, 0);
// add '2' to the list
lua_pushinteger(L, 2);
lua_rawseti(L, top, 1);
// add '3' to the list
lua_pushinteger(L, 3);
lua_rawseti(L, top, 2);

// and then some code to bind it to &quot;myarray&quot;</description>
    </item>
</rdf:RDF>
