<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://manual.dengine.net/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://manual.dengine.net/feed.php">
        <title>Doomsday Manual</title>
        <description></description>
        <link>https://manual.dengine.net/</link>
        <image rdf:resource="https://manual.dengine.net/lib/tpl/dengine/images/favicon.ico" />
       <dc:date>2026-06-10T21:09:34+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://manual.dengine.net/script/walkthrough/records?rev=1574537924&amp;do=diff"/>
                <rdf:li rdf:resource="https://manual.dengine.net/script/walkthrough/functions?rev=1664252695&amp;do=diff"/>
                <rdf:li rdf:resource="https://manual.dengine.net/script/walkthrough/scopes?rev=1574672151&amp;do=diff"/>
                <rdf:li rdf:resource="https://manual.dengine.net/script/walkthrough/exceptions?rev=1574278176&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://manual.dengine.net/lib/tpl/dengine/images/favicon.ico">
        <title>Doomsday Manual</title>
        <link>https://manual.dengine.net/</link>
        <url>https://manual.dengine.net/lib/tpl/dengine/images/favicon.ico</url>
    </image>
    <item rdf:about="https://manual.dengine.net/script/walkthrough/records?rev=1574537924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-23T19:38:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script:walkthrough:records</title>
        <link>https://manual.dengine.net/script/walkthrough/records?rev=1574537924&amp;do=diff</link>
        <description>ExceptionsstartFunctions
Records

Records are the foundation of Doomsday Script. Each namespace and module is a record, each object is a record, and classes are records, too.

The ownership model of records is that there is always a single owner for a record, and if that owner gets destroyed, all records owned by it will get destroyed, too. Many records are owned by native code (e.g., built-in modules like</description>
    </item>
    <item rdf:about="https://manual.dengine.net/script/walkthrough/functions?rev=1664252695&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-27T04:24:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script:walkthrough:functions</title>
        <link>https://manual.dengine.net/script/walkthrough/functions?rev=1664252695&amp;do=diff</link>
        <description>RecordsstartScopes
Functions

A function is defined in the current scope using a def statement. def is a compound statement, so it must be either a single-line compound or end must be used in the end.
def func1(): pass

def func2()
end
The return statement is used to return a value from a function.</description>
    </item>
    <item rdf:about="https://manual.dengine.net/script/walkthrough/scopes?rev=1574672151&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-25T08:55:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script:walkthrough:scopes</title>
        <link>https://manual.dengine.net/script/walkthrough/scopes?rev=1574672151&amp;do=diff</link>
        <description>FunctionsstartMiscellaneous
Scopes

The following scopes (namespaces) are defined:

	*  Each module has its own global scope.
	*  Each function has its own local scope.
	*  In a class definition, the scope is the class namespace.

Global assignment

The global assignment := operator inserts variables to the module's global namespace.</description>
    </item>
    <item rdf:about="https://manual.dengine.net/script/walkthrough/exceptions?rev=1574278176&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-20T19:29:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script:walkthrough:exceptions</title>
        <link>https://manual.dengine.net/script/walkthrough/exceptions?rev=1574278176&amp;do=diff</link>
        <description>Statements and compoundsstartRecords
Exceptions

Try and catch

Like in C++, the try and catch keywords are used to begin blocks of code where exceptions can be thrown and processed.

If an exception is thrown outside try/catch, it will be  uncaught and execution of the script to be aborted.</description>
    </item>
</rdf:RDF>
