<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by PHPBoost on Sun, 05 Apr 2026 09:54:11 +0200 -->

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Wiki MSX Village]]></title>
		<atom:link href="https://msxvillage.fr/syndication/rss/wiki/8" rel="self" type="application/rss+xml"/>
		<link>https://www.msxvillage.fr</link>
		<description><![CDATA[Derniers articles de la catégorie D]]></description>
		<copyright>(C) 2005-2026 PHPBoost</copyright>
		<language>fr</language>
		<generator>PHPBoost</generator>
		
		
		<item>
			<title><![CDATA[DEFUSR]]></title>
			<link>https://msxvillage.fr/wiki/defusr</link>
			<guid>https://msxvillage.fr/wiki/defusr</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DEFUSR</span></strong></legend><div class="formatter-content">Instruction qui permet de déclarer une routine en langage machine.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defusr">DEFUSR</a> [numéro de routine]  = adresse</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
Si le numéro de routine est omis, il sera pris 0 par défaut. Le numéro de rouitne peut varier de 0 à 9, on peut donc en définir 10.<br />
<br />
La routine sera ensuite appelé au moyen de la fonction <a href="https://msxvillage.fr/wiki/usr">USR</a> suivie du même numéro défini dans le <a href="https://msxvillage.fr/wiki/defusr">DEFUSR</a>.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">        10 <a href="https://msxvillage.fr/wiki/defusr">DEFUSR</a>0 = &H00C0<br />
                               20 X = <a href="https://msxvillage.fr/wiki/usr">USR</a>0(1)<br />
                               30 <a href="https://msxvillage.fr/wiki/end">END</a></td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">La fonction USR donnera la valeur 1 à X (ligne 20) et exécutera la routine machine du Bios l'adresse &H00C0. Celle-ci émet un "Bip" sonore. (comme le fait l'instruction BEEP du BASIC.)</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque : </h3><br />
<br />
Cette instruction nécessite une bonne connaissance de la structure de la mémoire des MSX et de la programmation en langage machine. Une mauvaise utilisation peut entraîner un plantage du programme, voire du MSX.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Fri, 24 Jan 2014 14:49:02 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DRAW]]></title>
			<link>https://msxvillage.fr/wiki/draw</link>
			<guid>https://msxvillage.fr/wiki/draw</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DRAW</span></strong></legend><div class="formatter-content">Instruction qui permet de dessiner des lignes droites en mode graphique à partir d'une chaîne de caractères.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/draw">DRAW</a> « chaîne de caractères »</td>
     </tr>
</table><br />
<br />
Le dessin réalisé avec <a href="https://msxvillage.fr/wiki/draw">DRAW</a> commence toujours au dernier point tracé en mode graphique. Pour commencer à un point donné, il faut utiliser avant le <a href="https://msxvillage.fr/wiki/draw">DRAW</a> un <a href="https://msxvillage.fr/wiki/pset">PSET</a> ou un <a href="https://msxvillage.fr/wiki/preset">PRESET</a>, ou commencer la chaîne par un contenu spécial expliqué plus bas.<br />
<br />
Le contenu de la chaîne de caractères peut être remplacé par un nom de variable (A$, B$, etc). Ainsi, si une variable A$ est définie, il est correct d'écrire <a href="https://msxvillage.fr/wiki/draw">DRAW</a> A$.<br />
<br />
De la même manière que l'instruction <a href="https://msxvillage.fr/wiki/play">PLAY</a>, la chaîne va contenir plusieurs caractères qui auront leur signification propre pour l'interpréteur MSX-Basic.<br />
<br />
<span style="text-decoration: underline;">Signification des caractères</span> :<br />
<br />
La lettre <strong>U</strong> signifie un déplacement vers le haut : U50 correspond à une ligne verticale se déplaçant de 50 pixels vers le haut.<br />
<br />
La lettre <strong>R</strong> signifie un déplacement vers la droite : R100 correspond à une ligne horizontale se déplaçant de 100 pixels vers la droite.<br />
<br />
La lettre <strong>D</strong> signifie un déplacement vers le bas : D40 correspond à une ligne verticale se déplaçant de 40 pixels vers le bas.<br />
<br />
La lettre <strong>L</strong> signifie un déplacement vers la gauche : L20 correspond à une ligne horizontale se déplaçant de 20 pixels vers la gauche.<br />
<br />
La lettre <strong>E </strong>permet de tracer un segment à 45 degrés vers le haut à droite. Exemple : E10.<br />
<br />
La lettre <strong>F</strong> permet de tracer un segment à 45 degrés vers le bas à droite. Exemple : F35.<br />
<br />
La lettre <strong>G</strong> permet de tracer un segment à 45 degrés vers le haut à gauche. Exemple  :G40.<br />
<br />
La lettre <strong>H</strong> permet de tracer un segment à 45 degrés vers le bas à gauche. Exemple : H55.<br />
<br />
La lettre <strong>S</strong> permet de définir une échelle. Le nombre qui suit S, divisé par 4, donne l'échelle (par défaut, on a S4, pour une échelle de 1/1).<br />
<br />
La lettre <strong>A</strong> permet d'effectuer une rotation de 90 degrés du système de coordonnées. Les seules valeurs pour A sont de fait 0, 1, 2 ou 3. Par défaut, on a A0, pour un système de coordonnées sans rotation.<br />
<br />
La lettre <strong>C</strong>, suivie d'un code couleur, indique la couleur du tracé.<br />
<br />
La lettre <strong>M</strong>, suivie de 2 nombres séparés par une virgule, permet de tracer une ligne oblique. Par exemple, M100,50 permettra de tracer une ligne partant du point précédent (coordonnées X et Y) jusqu'au point X+100, Y+50. En raison de la particularité de ce déplacement, les nombres qui suivent M peuvent être négatifs.<br />
<br />
Les lettres <strong>BM</strong> suivies de 2 nombres séparés par une virgule, permettent de définir les coordonnées de l'origine du dessin. Avec BM50,50, mon dessin commencera aux coordonnées 50,50.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">10 <a href="https://msxvillage.fr/wiki/screen">SCREEN</a> 2<br />
                               20 <a href="https://msxvillage.fr/wiki/draw">DRAW</a> «BM50,50C6U20R20D20L20  »<br />
                               30 <a href="https://msxvillage.fr/wiki/goto">GOTO</a> 30</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat ( en images )</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">On obtient un carré vert, dont le point en bas à gauche est de coordonnées 50,50.</td>
    </tr>
            <tr class="formatter-table-row">
        <td class="formatter-table-col"><img src="https://msxvillage.fr/wiki/images/blink_0003.jpg" alt="" class="valign_" /></td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque :</h3><br />
Des manipulations sont possibles dans les chaînes de caractères de <a href="https://msxvillage.fr/wiki/draw">DRAW</a> :<br />
<br />
 - Si une chaîne A$ est déjà définie, elle peut être incluse dans une suite de caractères, en la précédant d'un <strong>X</strong> : <a href="https://msxvillage.fr/wiki/draw">DRAW</a> « BM50,50U20XA$ » nous dessinera une ligne qui monte de 20 pixels à partir du point 50,50, puis enchaînera avec le contenu de la chaîne A$.<br />
<br />
- Si une variable entière est déjà définie, elle peut être utilisée pour figurer les nombres présents dans la chaîne, en étant entourée du signe = et du point virgule. Par exemple, si A=30, <a href="https://msxvillage.fr/wiki/draw">DRAW</a> « BM50,50U<strong>=</strong>A<strong> ;</strong> » me dessinera une ligne verticale de 30 pixels partant du point 50,50.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Mon, 09 Aug 2010 14:48:12 +0200</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DSKF]]></title>
			<link>https://msxvillage.fr/wiki/dskf</link>
			<guid>https://msxvillage.fr/wiki/dskf</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DSKF</span></strong></legend><div class="formatter-content">Fonction qui permet de connaître l'espace disque restant sur une disquette.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/dskf">DSKF</a> (numéro de lecteur)</td>
     </tr>
</table><br />
<br />
Ici, les lecteurs sont représentés par des numéros, et non par des lettres de lecteurs. Voici le détail de ces numéros :<br />
<br />
0 : lecteur par défaut      <br />
1 : lecteur A                 <br />
2 : lecteur B                    <br />
3 : lecteur C<br />
4 : lecteur D<br />
5 : lecteur E<br />
6 : lecteur F<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Si on a une disquette dans le lecteur par défaut :<br />
<br />
                               <a href="https://msxvillage.fr/wiki/print">PRINT</a> <a href="https://msxvillage.fr/wiki/dskf">DSKF</a>(0)</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">La ligne de programme affichera la place restante sur la disquette (en Ko).</td>
    </tr>
</table><br />
<br />
</div></fieldset>]]></description>
			<pubDate>Tue, 27 Oct 2009 08:39:53 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DEFSTR]]></title>
			<link>https://msxvillage.fr/wiki/defstr</link>
			<guid>https://msxvillage.fr/wiki/defstr</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DEFSTR</span></strong></legend><div class="formatter-content">Instruction qui permet de définir une série de variables en tant que chaînes de caractères selon leur première lettre.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defstr">DEFSTR</a> lettre départ[-lettre fin]</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defstr">DEFSTR</a> G-H</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Toutes les variables commençant par les lettres G ou H seront de type chaîne de caractères.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque : </h3><br />
<br />
Un signe de déclaration de variable comme $, %, ! ou # sera toujours prioritaire sur un <a href="https://msxvillage.fr/wiki/defstr">DEFSTR</a>.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Mon, 26 Oct 2009 16:26:13 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DEFDBL]]></title>
			<link>https://msxvillage.fr/wiki/defdbl</link>
			<guid>https://msxvillage.fr/wiki/defdbl</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DEFDBL</span></strong></legend><div class="formatter-content">Instruction qui permet de définir une série de variables en tant que nombres double précision selon leur première lettre.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defdbl">DEFDBL</a> lettre départ[-lettre fin]</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defdbl">DEFDBL</a> J</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Toutes les variables commençant par la lettre J seront de type nombre double précision.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque : </h3><br />
<br />
Un signe de déclaration de variable comme $, %, ! ou # sera toujours prioritaire sur un <a href="https://msxvillage.fr/wiki/defdbl">DEFDBL</a>.<br />
<br />
</div></fieldset><br />
<br />
<br />]]></description>
			<pubDate>Mon, 26 Oct 2009 16:23:49 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DEFSNG]]></title>
			<link>https://msxvillage.fr/wiki/defsng</link>
			<guid>https://msxvillage.fr/wiki/defsng</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DEFSNG</span></strong></legend><div class="formatter-content">Instruction qui permet de définir une série de variables en tant que nombres simple précision selon leur première lettre.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defsng">DEFSNG</a> lettre départ[-lettre fin]</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defsng">DEFSNG</a> K-M</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Toutes les variables commençant par les lettres K, L ou M seront de type nombre simple précision.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque : </h3><br />
<br />
Un signe de déclaration de variable comme $, %, ! ou # sera toujours prioritaire sur un <a href="https://msxvillage.fr/wiki/defsng">DEFSNG</a>.<br />
<br />
</div></fieldset><br />
<br />
<br />]]></description>
			<pubDate>Mon, 26 Oct 2009 16:21:15 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DEFINT]]></title>
			<link>https://msxvillage.fr/wiki/defint</link>
			<guid>https://msxvillage.fr/wiki/defint</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DEFINT</span></strong></legend><div class="formatter-content">Instruction qui permet de définir une série de variables en tant qu'entiers selon leur première lettre.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defint">DEFINT</a> lettre départ[-lettre fin]</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/defint">DEFINT</a> A-C</td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Toutes les variables commençant par les lettres A, B ou C seront de type entier.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque : </h3><br />
<br />
Un signe de déclaration de variable comme $, %, ! ou # sera toujours prioritaire sur un <a href="https://msxvillage.fr/wiki/defint">DEFINT</a>.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Mon, 26 Oct 2009 16:19:24 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DEFFN]]></title>
			<link>https://msxvillage.fr/wiki/deffn</link>
			<guid>https://msxvillage.fr/wiki/deffn</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DEFFN</span></strong></legend><div class="formatter-content">Instruction qui permet de définir une fonction.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/deffn">DEFFN</a> nom de fonction [(paramètres de la fonction)]=expression qui définit la fonction</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
Le nom de la fonction peut faire au maximum 7 caractères.<br />
<br />
Les paramètres de fonction ainsi que l'expression de celle-ci peuvent utiliser des noms de variables déjà utilisés dans le programme. Ici, ils ne servent qu'à la définition de la fonction. Par contre, dans l'expression, certaines variables existantes du programme peuvent être utilisées, mais il ne faut alors pas les mettre dans les paramètres de la fonction.<br />
<br />
Pour l'utilisation de la fonction ainsi définie, voir <a href="https://msxvillage.fr/wiki/fn">FN</a> ou l'exemple suivant.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">10 ' Pythagore<br />
                               20 <a href="https://msxvillage.fr/wiki/deffn">DEFFN</a> PYTH (X,Y)= <a href="https://msxvillage.fr/wiki/sqr">SQR</a>(X^2+Y^2)<br />
                               30 <a href="https://msxvillage.fr/wiki/print">PRINT</a> <a href="https://msxvillage.fr/wiki/fn">FN</a> PYTH(4,3)<br />
                               40 <a href="https://msxvillage.fr/wiki/end">END</a></td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Le nombre affiché sera en la mesure de l'hypoténuse d'un triangle rectangle dont les côtés mesurent 3 et 4 cm, soit 5 cm. la fonction PYTH qui a été définie prend 2 paramètres, X et Y, et sa définition est la racine carrée de la somme des carrés.</td>
    </tr>
</table><br />
<br />
</div></fieldset>]]></description>
			<pubDate>Mon, 26 Oct 2009 16:11:38 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DIM]]></title>
			<link>https://msxvillage.fr/wiki/dim</link>
			<guid>https://msxvillage.fr/wiki/dim</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DIM</span></strong></legend><div class="formatter-content">Instruction qui permet de déclarer un tableau de variables.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/dim">DIM</a> nom du tableau(indice maximum[,indice maximum][,indice maximum]...) </td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
L'indice d'un tableau commence à 0. Ainsi pour un tableau déclaré ainsi : <a href="https://msxvillage.fr/wiki/dim">DIM</a> A(4), on aura 5 éléments possibles : A(0), A(1), A(2), A(3) et A(4).<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">10 <a href="https://msxvillage.fr/wiki/dim">DIM</a> A(4)<br />
                         20 <a href="https://msxvillage.fr/wiki/for">FOR</a> I = 0 <a href="https://msxvillage.fr/wiki/to">TO</a> 4<br />
                         30 <a href="https://msxvillage.fr/wiki/input">INPUT</a> A(I)<br />
                         40 <a href="https://msxvillage.fr/wiki/next">NEXT</a> I<br />
                         50 <a href="https://msxvillage.fr/wiki/print">PRINT</a> "Le deuxième élément entré est : ";A(1)<br />
                         60 <a href="https://msxvillage.fr/wiki/end">END</a></td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Le programme affichera le deuxième nombre entré dans le tableau, soit A(1).</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarques :</h3><br />
<br />
Un tableau peut être utilisé sans avoir été préalablement déclaré par un <a href="https://msxvillage.fr/wiki/dim">DIM</a>. Sa taille maximale sera alors par défaut de 11 éléments.<br />
<br />
Un tableau peut être redimensionné, par la commande ERASE, qui supprimera le contenu initial du tableau.<br />
</div></fieldset><br />
<br />
<br />]]></description>
			<pubDate>Mon, 26 Oct 2009 13:38:22 +0100</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[DATA]]></title>
			<link>https://msxvillage.fr/wiki/data</link>
			<guid>https://msxvillage.fr/wiki/data</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">DATA</span></strong></legend><div class="formatter-content">Instruction qui permet de créer une liste de valeurs attribuables à des variables.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Syntaxe</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col"><a href="https://msxvillage.fr/wiki/data">DATA</a> valeur[,valeur][,valeur][...]</td>
     </tr>
</table><br />
<br />
Les crochets indiquent un contenu optionnel.<br />
<br />
Les valeurs utilisées peuvent être des nombres ou des chaînes (mises entre guillemets pour ces dernières).<br />
<br />
La lecture de <a href="https://msxvillage.fr/wiki/data">DATA</a> ne se fait que si au préalable une instruction <a href="https://msxvillage.fr/wiki/read">READ</a> a été déclarée dans le programme.<br />
<br />
Les différentes valeurs qui suivent <a href="https://msxvillage.fr/wiki/data">DATA</a> sont lues à la suite les unes des autres, de manière séquentielle.<br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">10 <a href="https://msxvillage.fr/wiki/for">FOR</a> I=1 <a href="https://msxvillage.fr/wiki/to">TO</a> 5<br />
                               20 <a href="https://msxvillage.fr/wiki/read">READ</a> A<br />
                               30 <a href="https://msxvillage.fr/wiki/print">PRINT</a> A<br />
                               40 <a href="https://msxvillage.fr/wiki/next">NEXT</a> I<br />
                               50 <a href="https://msxvillage.fr/wiki/data">DATA</a> 15,5,3,2,8<br />
                               60 <a href="https://msxvillage.fr/wiki/end">END</a></td>
             </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Résultat</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Le programme affichera à la suite les différents nombres contenus dans la ligne 50.</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarques :</h3><br />
Une suite de données utilisées avec <a href="https://msxvillage.fr/wiki/data">DATA</a> peut être relue avec l'instruction <a href="https://msxvillage.fr/wiki/restore">RESTORE</a>. Il suffit d'indiquer le numéro de ligne de <a href="https://msxvillage.fr/wiki/data">DATA</a> à relire, ou la lecture repart à la première ligne de <a href="https://msxvillage.fr/wiki/data">DATA</a> rencontrée.<br />
<br />
Une ligne de <a href="https://msxvillage.fr/wiki/data">DATA</a> peut être placée n'importe où dans le programme, car elle n'affecte pas le déroulement de celui-ci. Suivant l'usage, et pour plus de commodités, les listes de <a href="https://msxvillage.fr/wiki/data">DATA</a> sont souvent placées à la fin d'un programme.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Fri, 23 Oct 2009 09:24:04 +0200</pubDate>
			
		</item>
		
	</channel>
</rss>
