<?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-09-06T06:29:18+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=randomize&amp;rev=1788636190&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=keywords_functions_directives&amp;rev=1788635631&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=keywordref&amp;rev=1788635597&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=sidebar&amp;rev=1788635567&amp;do=diff"/>
                <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?id=strings&amp;rev=1788528134&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=shl&amp;rev=1788527703&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=syntax&amp;rev=1788527640&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=border&amp;rev=1788527598&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=background&amp;rev=1788527438&amp;do=diff"/>
                <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?id=fileio&amp;rev=1788351771&amp;do=diff"/>
                <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?id=flowcontrol&amp;rev=1788197822&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=trigono.bas&amp;rev=1788105250&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=x16.bas&amp;rev=1788103949&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=keyboard_scancodes&amp;rev=1788103889&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=interrupts&amp;rev=1788103745&amp;do=diff"/>
                <rdf:li rdf:resource="https://xc-basic.net/doku.php?id=libraryref&amp;rev=1788102849&amp;do=diff"/>
            </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=randomize&amp;rev=1788636190&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-05T19:23:10+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>RANDOMIZE - [Commander X16 Example] </title>
        <link>https://xc-basic.net/doku.php?id=randomize&amp;rev=1788636190&amp;do=diff</link>
        <description>RANDOMIZE

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

The RANDOMIZE command seeds the pseudo-random generator with an initial value.

Syntax


RANDOMIZE &lt;value&gt;


The value given must be a LONG number and it will serve as a base for the random sequence.</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=keywords_functions_directives&amp;rev=1788635631&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-05T19:13:51+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Commands, Functions and Directives by Category - [Logical and Arithmetical] </title>
        <link>https://xc-basic.net/doku.php?id=keywords_functions_directives&amp;rev=1788635631&amp;do=diff</link>
        <description>Commands, Functions and Directives by Category

Building blocks

	*  ASM
	*  CALL
	*  CONTINUE
	*  DO ... LOOP
	*  END
	*  FOR ... NEXT
	*  FUNCTION
	*  EXIT
	*  GOSUB
	*  GOTO
	*  IF ... THEN ... ELSE
	*  ON ... GOTO/GOSUB
	*  REM
	*  RETURN
	*  SELECT ... CASE
	*  SUB

Data &amp; variables

	*  @
	*  CBYTE
	*  CFLOAT
	*  CINT
	*  CLONG
	*  CONST
	*  CWORD
	*  DATA
	*  DIM
	*  LET
	*  STATIC
	*  SWAP
	*  THIS
	*  TYPE

Arithmetic and Logical</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=keywordref&amp;rev=1788635597&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-05T19:13:17+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Keywords A-Z</title>
        <link>https://xc-basic.net/doku.php?id=keywordref&amp;rev=1788635597&amp;do=diff</link>
        <description>Keywords A-Z



	*  @
	*  AND
	*  AS
	*  ASM
	*  BACKGROUND
	*  BORDER
	*  BYTE
	*  CALL
	*  CHARAT
	*  CHARSET
	*  CONST
	*  CONTINUE
	*  DATA
	*  DECIMAL
	*  DECLARE
	*  DIM
	*  DO
	*  DOKE
	*  ELSE
	*  END
	*  ERROR
	*  EXIT
	*  FAST
	*  FILTER
	*  FLOAT
	*  FOR
	*  FUNCTION
	*  GET
	*  GET#
	*  GOSUB
	*  GOTO
	*  HSCROLL
	*  IF
	*  INCBIN
	*  INCLUDE
	*  INLINE
	*  INPUT
	*  INPUT#
	*  INT
	*  INTERRUPT
	*  LET
	*  LOAD
	*  LOCATE
	*  LONG
	*  LOOP
	*  MEMCPY
	*</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=sidebar&amp;rev=1788635567&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-05T19:12:47+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>https://xc-basic.net/doku.php?id=sidebar&amp;rev=1788635567&amp;do=diff</link>
        <description>*  Welcome to XC=BASIC 3
	*  Showcase
	*  Installation and Usage
	*  Syntax
	*  Data Types
	*  Variables
	*  Operators
	*  Arithmetic expressions
	*  Strings
	*  Control Flow Statements
	*  Subroutines
	*  Functions
	*  User-Defined Types
	*  Code Modules
	*  Error Handling
	*  File I/O
	*  Interrupts
	*  Keyword Reference
	*  Function Reference
	*  Keywords by Category
	*  Library Reference
	*  Appendix
		*  Memory model
		*  PETSCII escape sequences
		*  Keyboard scan codes
		*  Commander X16 …</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?id=strings&amp;rev=1788528134&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T13:22:14+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Strings - [Value assignment] </title>
        <link>https://xc-basic.net/doku.php?id=strings&amp;rev=1788528134&amp;do=diff</link>
        <description>Strings

Strings are fixed-length series of PETSCII characters. The maximum length of a string is 96 characters.

String literals

String literals must be enclosed between double quote (“) characters and may contain any ASCII character. Every ASCII</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=shl&amp;rev=1788527703&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T13:15:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SHL - external edit</title>
        <link>https://xc-basic.net/doku.php?id=shl&amp;rev=1788527703&amp;do=diff</link>
        <description>SHL

The SHL() function returns a number bit-shifted &lt;n&gt; positions to the left.

Function header


DECLARE FUNCTION SHL AS BYTE (num AS BYTE, n AS BYTE) SHARED STATIC INLINE
DECLARE FUNCTION SHL AS INT (num AS INT, n AS BYTE) OVERLOAD SHARED STATIC INLINE
DECLARE FUNCTION SHL AS WORD (num AS WORD, n AS BYTE) OVERLOAD SHARED STATIC INLINE
DECLARE FUNCTION SHL AS LONG (num AS LONG, n AS BYTE) OVERLOAD SHARED STATIC INLINE</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=syntax&amp;rev=1788527640&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T13:14:00+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Syntax - [Whitespace] </title>
        <link>https://xc-basic.net/doku.php?id=syntax&amp;rev=1788527640&amp;do=diff</link>
        <description>Syntax

Vocabulary

The following reserved keywords form the basic vocabulary of the language. The keywords may be spelled with either upper or lower case letters, or a mix of both. Therefore PRINT, print and Print are equivalent.





Identifiers

Identifiers are used to name constants, variables, labels, subs and functions in XC=BASIC. You may choose identifiers as you wish, following these rules:</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=border&amp;rev=1788527598&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T13:13:18+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>BORDER - [Examples] </title>
        <link>https://xc-basic.net/doku.php?id=border&amp;rev=1788527598&amp;do=diff</link>
        <description>BORDER

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

Sets the border color.

Syntax


&#039; Commodore-16 and Plus/4
BORDER &lt;color&gt;, &lt;luminance&gt;
&#039; All other machines
BORDER &lt;color&gt;


	*  &lt;color&gt; is the color code. The accepted values are:
		*  0 - 7 for</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=background&amp;rev=1788527438&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-04T13:10:38+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>BACKGROUND - [Syntax] </title>
        <link>https://xc-basic.net/doku.php?id=background&amp;rev=1788527438&amp;do=diff</link>
        <description>BACKGROUND

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

Sets the background color.

Syntax


BACKGROUND &lt;color&gt;
BACKGROUND &lt;color&gt;, &lt;luminance&gt;


	*  &lt;color&gt; is the color code. The accepted values are:
		*  0 - 7 for [vic20]
		*  0 - 15 for [c64] [c16]</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?id=fileio&amp;rev=1788351771&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-09-02T12:22:51+00:00</dc:date>
        <dc:creator>jjflash (jjflash@undisclosed.example.com)</dc:creator>
        <title>File I/O - [READ and WRITE] </title>
        <link>https://xc-basic.net/doku.php?id=fileio&amp;rev=1788351771&amp;do=diff</link>
        <description>File I/O

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

File input-output in XC=BASIC was designed to be mostly compatible with CBM BASIC so that the same commands can be used for opening, reading from and writing to files. Since XC=BASIC is a strongly typed language, and therefore it comes with restrictions, there are some small differences to be aware of. Those differences are explained on each command&#039;s reference page.</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?id=flowcontrol&amp;rev=1788197822&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-31T17:37:02+00:00</dc:date>
        <dc:creator>neils (neils@undisclosed.example.com)</dc:creator>
        <title>Control Flow Statements - [DO ... LOOP loop] </title>
        <link>https://xc-basic.net/doku.php?id=flowcontrol&amp;rev=1788197822&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=trigono.bas&amp;rev=1788105250&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-30T15:54:10+00:00</dc:date>
        <dc:creator>jjflash (jjflash@undisclosed.example.com)</dc:creator>
        <title>TRIGONO.BAS - [Constants] </title>
        <link>https://xc-basic.net/doku.php?id=trigono.bas&amp;rev=1788105250&amp;do=diff</link>
        <description>TRIGONO.BAS

The trigono.bas library implements fundamental trigonometric functions.

Usage

You must include the library before you can use its features (preferably at the top of your program):


INCLUDE &quot;trigono.bas&quot;


Constants


SHARED CONST PI = 3.14159</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=x16.bas&amp;rev=1788103949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-30T15:32:29+00:00</dc:date>
        <dc:creator>jjflash (jjflash@undisclosed.example.com)</dc:creator>
        <title>X16.BAS - [Usage] </title>
        <link>https://xc-basic.net/doku.php?id=x16.bas&amp;rev=1788103949&amp;do=diff</link>
        <description>X16.BAS

The x16.bas library lets you access the improved functionality of the Commander X16.

Usage

You must include the library before you can use its features (preferably at the top of your program):


INCLUDE &quot;x16.bas&quot;


Subroutines

	*  MEMCPYMV
	*  MEMCPYVM
	*</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=keyboard_scancodes&amp;rev=1788103889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-30T15:31:29+00:00</dc:date>
        <dc:creator>jjflash (jjflash@undisclosed.example.com)</dc:creator>
        <title>Keyboard scan codes</title>
        <link>https://xc-basic.net/doku.php?id=keyboard_scancodes&amp;rev=1788103889&amp;do=diff</link>
        <description>Keyboard scan codes

Since version 3.1.13, keyboard scan codes are available as predefined constants for some targets. All you need to do is include the keyboard definition for the platform you&#039;re targeting. For example:


INCLUDE &quot;keycodes_c64.bas&quot; &#039; For the Commodore-64
PRINT &quot;press f1&quot;
DO UNTIL KEY(KEY_F1) &lt;&gt; 0 
LOOP</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=interrupts&amp;rev=1788103745&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-30T15:29:05+00:00</dc:date>
        <dc:creator>jjflash (jjflash@undisclosed.example.com)</dc:creator>
        <title>Interrupts - [Raster interrupt example] </title>
        <link>https://xc-basic.net/doku.php?id=interrupts&amp;rev=1788103745&amp;do=diff</link>
        <description>Interrupts

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

XC=BASIC allows you to set up interrupting rules and write routines that handle interrupts. The supported interrupt types are:

	*  Timer interrupts, issued after every &lt;N&gt; processor cycles where &lt;N&gt; is a value between 1 and 65535 (supported on all targets)</description>
    </item>
    <item rdf:about="https://xc-basic.net/doku.php?id=libraryref&amp;rev=1788102849&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-30T15:14:09+00:00</dc:date>
        <dc:creator>jjflash (jjflash@undisclosed.example.com)</dc:creator>
        <title>Library Reference - [Third-party Libraries] </title>
        <link>https://xc-basic.net/doku.php?id=libraryref&amp;rev=1788102849&amp;do=diff</link>
        <description>Library Reference

Libraries are sets of Subroutines and/or Functions that are written in XC=BASIC or assembly language and provide shared functionality to be used in your program.

Built-in Libraries

The following libraries are packaged with XC=BASIC:

	*  TRIGONO.BAS - library that implements fundamental trigonometric functions</description>
    </item>
</rdf:RDF>
