<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://xc-basic.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://xc-basic.net/feed.php">
        <title>XC=BASIC</title>
        <description></description>
        <link>https://xc-basic.net/</link>
        <image rdf:resource="https://xc-basic.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-10-16T21:41:20+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=data&amp;rev=1791482822&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=const&amp;rev=1791482651&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=commanderx16_support&amp;rev=1791481682&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=option&amp;rev=1791481554&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=incbin&amp;rev=1791481459&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=locate&amp;rev=1791481337&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=subroutines&amp;rev=1791481274&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=flowcontrol&amp;rev=1791480891&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=expressions&amp;rev=1791480580&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=variables&amp;rev=1791480523&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=installation_and_usage&amp;rev=1791480187&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=start&amp;rev=1791475600&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=v3%3Aksnip_20221214-134130.png&amp;ns=v3&amp;rev=1789023339&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=v3%3Aksnip_20221230-145459.png&amp;ns=v3&amp;rev=1789011240&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=tetris_tutorial_05.png&amp;ns=0&amp;rev=1788723869&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=toolchain.png&amp;ns=0&amp;rev=1788580815&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=starfield.gif&amp;ns=0&amp;rev=1788535836&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=v3%3Aefj4l2.png&amp;ns=v3&amp;rev=1788490864&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=download-button-transparent-14.png&amp;ns=0&amp;rev=1788302614&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?image=tetris_tutorial_04.png&amp;ns=0&amp;rev=1788067106&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://xc-basic.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>XC=BASIC</title>
        <link>https://xc-basic.net/</link>
        <url>https://xc-basic.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://xc-basic.net/doku.php?id=data&amp;rev=1791482822&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T18:07:02+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>DATA - [Syntax] </title>
        <link>https://xc-basic.net/doku.php?id=data&amp;rev=1791482822&amp;do=diff</link>
        <description>DATA

[pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65]

The DATA directive puts numeric or string literal values at the memory area where it is used.

Syntax


DATA [AS &lt;type&gt;] &lt;value&gt; [, &lt;value&gt; ...]


If AS &lt;type&gt; is omitted, the default BYTE type will be used.</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=const&amp;rev=1791482651&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T18:04:11+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>CONST - [Syntax] </title>
        <link>https://xc-basic.net/doku.php?id=const&amp;rev=1791482651&amp;do=diff</link>
        <description>CONST

[pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65]

The const directive defines a constant. Constants are named values that exist in compile-time only and are replaced with their numeric value in runtime.

Syntax


[SHARED] CONST &lt;name&gt; [AS &lt;type&gt;] = &lt;value&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=commanderx16_support&amp;rev=1791481682&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:48:02+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Commander X16 support - [How to get started] </title>
        <link>https://xc-basic.net/doku.php?id=commanderx16_support&amp;rev=1791481682&amp;do=diff</link>
        <description>Commander X16 support

XC=BASIC can compile programs to the Commander X16. Everything that has been part of the core language is ported to the [x16], including sprites, sound and interrupts. In addition, a new library is available to the user to exploit some of the additional features that this machine offers.</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=option&amp;rev=1791481554&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:45:54+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>OPTION - [Examples] </title>
        <link>https://xc-basic.net/doku.php?id=option&amp;rev=1791481554&amp;do=diff</link>
        <description>OPTION

The OPTION directive sets various compilation options. Most of these options can be set from the command line as well. The OPTION directive gets higher priority than command line options.

Syntax


OPTION &lt;option_name&gt; [= &lt;value&gt;]




Examples</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=incbin&amp;rev=1791481459&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:44:19+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>INCBIN - [Syntax] </title>
        <link>https://xc-basic.net/doku.php?id=incbin&amp;rev=1791481459&amp;do=diff</link>
        <description>INCBIN

[pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65]

Include raw binary data in the compiled program.

Syntax


INCBIN &quot;path/to/binary_file&quot; [, &lt;offset&gt;]


The INCBIN directive instructs the assembler to include a custom binary file. This is useful to include graphics, music or any kind of data - even machine code routines - in your program. The included file must be a path relative to the folder where the code module is.</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=locate&amp;rev=1791481337&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:42:17+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>LOCATE - [LOCATE] </title>
        <link>https://xc-basic.net/doku.php?id=locate&amp;rev=1791481337&amp;do=diff</link>
        <description>LOCATE

[pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65]

The LOCATE command is used to set the cursor position.

Syntax


LOCATE &lt;x_pos&gt;, &lt;y_pos&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=subroutines&amp;rev=1791481274&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:41:14+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Subroutines - [Static Variables Inside Dynamic Subroutines] </title>
        <link>https://xc-basic.net/doku.php?id=subroutines&amp;rev=1791481274&amp;do=diff</link>
        <description>Subroutines

While you can use the GOSUB command in pair with RETURN to call parts of code as subroutines, the more sophisticated way of implementing subroutines is using the SUB ... END SUB block.

Defining Subroutines

Subroutines are named routines that accept zero or more arguments. The simplest syntax to define a subroutine is the following:</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=flowcontrol&amp;rev=1791480891&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:34:51+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Control Flow Statements - [Multiple branching] </title>
        <link>https://xc-basic.net/doku.php?id=flowcontrol&amp;rev=1791480891&amp;do=diff</link>
        <description>Control Flow Statements

Conditional branching

With the IF statement you can test a condition and then run code based on whether the condition test passed or failed.


IF &lt;condition&gt; THEN
    &lt;statements&gt;
END IF


The IF clause runs the statements under it when the</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=expressions&amp;rev=1791480580&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:29:40+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Arithmetic expressions</title>
        <link>https://xc-basic.net/doku.php?id=expressions&amp;rev=1791480580&amp;do=diff</link>
        <description>Arithmetic expressions

When no parentheses are present, arithmetic expressions are evaluated from left to right, with multiplication and division having a higher priority than addition and subtraction.

The following table explains operator precedence in XC=BASIC:</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=variables&amp;rev=1791480523&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:28:43+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Variables - [Implicit Definition] </title>
        <link>https://xc-basic.net/doku.php?id=variables&amp;rev=1791480523&amp;do=diff</link>
        <description>Variables

XC=BASIC is a statically typed programming language which means that the type of a variable is known at compile time. All variables have a type and that type cannot change.

Defining Variables

In an XC=BASIC program, all variables must be defined before they&#039;re used. Either you define them using the</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=installation_and_usage&amp;rev=1791480187&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T17:23:07+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Installation and Usage - [Installation] </title>
        <link>https://xc-basic.net/doku.php?id=installation_and_usage&amp;rev=1791480187&amp;do=diff</link>
        <description>Installation and Usage

Prerequisites

	*  XC=BASIC is a console application and therefore you need to understand at least the very basics of using the console of your choice, e. g. executing commands, changing directories, copying files, etc.
	*  XC=BASIC depends on</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=start&amp;rev=1791475600&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-10-08T16:06:40+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Welcome to XC=BASIC 3</title>
        <link>https://xc-basic.net/doku.php?id=start&amp;rev=1791475600&amp;do=diff</link>
        <description>Welcome to XC=BASIC 3

XC=BASIC is a cross compiled, modern BASIC programming language for 8-bit Commodore (and alike) machines, such as

	*  Commodore-64
	*  Commodore VIC-20
	*  Commodore-16
	*  Commodore Plus/4
	*  Commodore-128
	*  Commodore PET series (with limitations)</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=v3%3Aksnip_20221214-134130.png&amp;ns=v3&amp;rev=1789023339&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-10T06:55:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ksnip_20221214-134130.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=v3%3Aksnip_20221214-134130.png&amp;ns=v3&amp;rev=1789023339&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=b32093&amp;amp;media=v3:ksnip_20221214-134130.png&quot; alt=&quot;ksnip_20221214-134130.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=v3%3Aksnip_20221230-145459.png&amp;ns=v3&amp;rev=1789011240&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-10T03:34:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ksnip_20221230-145459.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=v3%3Aksnip_20221230-145459.png&amp;ns=v3&amp;rev=1789011240&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=a5ebe4&amp;amp;media=v3:ksnip_20221230-145459.png&quot; alt=&quot;ksnip_20221230-145459.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=tetris_tutorial_05.png&amp;ns=0&amp;rev=1788723869&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-06T19:44:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tetris_tutorial_05.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=tetris_tutorial_05.png&amp;ns=0&amp;rev=1788723869&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=3603ae&amp;amp;media=tetris_tutorial_05.png&quot; alt=&quot;tetris_tutorial_05.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=toolchain.png&amp;ns=0&amp;rev=1788580815&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-05T04:00:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>toolchain.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=toolchain.png&amp;ns=0&amp;rev=1788580815&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=99bfd2&amp;amp;media=toolchain.png&quot; alt=&quot;toolchain.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=starfield.gif&amp;ns=0&amp;rev=1788535836&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T15:30:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>starfield.gif - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=starfield.gif&amp;ns=0&amp;rev=1788535836&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=318709&amp;amp;media=starfield.gif&quot; alt=&quot;starfield.gif&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=v3%3Aefj4l2.png&amp;ns=v3&amp;rev=1788490864&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T03:01:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>efj4l2.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=v3%3Aefj4l2.png&amp;ns=v3&amp;rev=1788490864&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=55c7e1&amp;amp;media=v3:efj4l2.png&quot; alt=&quot;efj4l2.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=download-button-transparent-14.png&amp;ns=0&amp;rev=1788302614&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-01T22:43:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>download-button-transparent-14.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=download-button-transparent-14.png&amp;ns=0&amp;rev=1788302614&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=0f29bf&amp;amp;media=download-button-transparent-14.png&quot; alt=&quot;download-button-transparent-14.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?image=tetris_tutorial_04.png&amp;ns=0&amp;rev=1788067106&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-30T05:18:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tetris_tutorial_04.png - removed - external edit (Unknown date)</title>
        <link>https://xc-basic.net/doku.php?image=tetris_tutorial_04.png&amp;ns=0&amp;rev=1788067106&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://xc-basic.net/lib/exe/fetch.php?w=500&amp;amp;h=500&amp;amp;tok=158f38&amp;amp;media=tetris_tutorial_04.png&quot; alt=&quot;tetris_tutorial_04.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
</rdf:RDF>
