<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by PHPBoost on Thu, 30 Apr 2026 00:47:44 +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/17" rel="self" type="application/rss+xml"/>
		<link>https://msxvillage.fr</link>
		<description><![CDATA[Derniers articles de la catégorie N]]></description>
		<copyright>(C) 2005-2026 PHPBoost</copyright>
		<language>fr</language>
		<generator>PHPBoost</generator>
		
		
		<item>
			<title><![CDATA[NAME]]></title>
			<link>https://msxvillage.fr/wiki/name</link>
			<guid>https://msxvillage.fr/wiki/name</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">NAME</span></strong></legend><div class="formatter-content">Instruction qui permet de modifier le nom d'un fichier 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/name">NAME</a> « [lecteur :] nom de fichier initial » AS « nouveau nom de fichier»</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/name">NAME</a> « A :TEST.BAS » AS « A :VILLAGE.BAS »</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 nommé TEST.BAS du lecteur de disquettes A sera renommé VILLAGE.BAS .</td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarque :</h3><br />
Cette instruction ne fonctionne que pour un MSX pourvu de lecteur de disquettes. Sur un MSX1 non pourvu d'un tel dispositif, il est inutile de lancer cette instruction.<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Thu, 22 Oct 2009 14:38:46 +0200</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[NEW]]></title>
			<link>https://msxvillage.fr/wiki/new</link>
			<guid>https://msxvillage.fr/wiki/new</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">NEW</span></strong></legend><div class="formatter-content">Commande qui permet de supprimer de la mémoire du MSX le programme en cours.<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/new">NEW</a></td>
    </tr>
</table><br />
<br />
<h3 class="formatter-title">Remarques :</h3><br />
Le fait d'utiliser <a href="https://msxvillage.fr/wiki/new">NEW</a> efface non seulement le contenu du programme, mais aussi les variables utilisées par celui-ci, et provoque également la fermeture des éventuels fichiers ouverts au cours du programme.<br />
<br />
<a href="https://msxvillage.fr/wiki/new">NEW</a> peut aussi être utilisé avec une l'instruction <a href="https://msxvillage.fr/wiki/color">COLOR</a> (syntaxe : <a href="https://msxvillage.fr/wiki/color">COLOR</a> = <a href="https://msxvillage.fr/wiki/new">NEW</a>), dans un but tout autre (voir <a href="https://msxvillage.fr/wiki/color">COLOR</a>).<br />
<br />
</div></fieldset>]]></description>
			<pubDate>Wed, 21 Oct 2009 11:14:46 +0200</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[NEXT]]></title>
			<link>https://msxvillage.fr/wiki/next</link>
			<guid>https://msxvillage.fr/wiki/next</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">NEXT</span></strong></legend><div class="formatter-content">Voir <a href="https://msxvillage.fr/wiki/for">FOR</a><br />
</div></fieldset>]]></description>
			<pubDate>Tue, 20 Oct 2009 11:32:11 +0200</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[N]]></title>
			<link>https://msxvillage.fr/wiki/n</link>
			<guid>https://msxvillage.fr/wiki/n</guid>
			<description><![CDATA[Liste des instructions commençant par N :]]></description>
			<pubDate>Tue, 20 Oct 2009 10:58:42 +0200</pubDate>
			
		</item>
		
		<item>
			<title><![CDATA[NOT]]></title>
			<link>https://msxvillage.fr/wiki/not</link>
			<guid>https://msxvillage.fr/wiki/not</guid>
			<description><![CDATA[<fieldset class="formatter-container formatter-fieldset" style=""><legend><strong><span style="font-size: 20px;">NOT</span></strong></legend><div class="formatter-content">Opérateur logique permettant soit de tester la négation d'une condition, soit d'appliquer des modifications sur la représentation binaire d'un nombre.<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">Les opérateurs logiques peuvent agir aussi bien sur des conditions que sur des nombres. Pour des conditions, le résultat en MSX-Basic est -1 pour vrai, 0 pour faux. Pour les nombres, le résultat dépend de la représentation binaire de ceux-ci. Les différents résultats peuvent être placés dans des variables.<br />
<br />
                 La syntaxe est la suivante :<br />
<br />
                <a href="https://msxvillage.fr/wiki/not">NOT</a> opérateur<br />
</td>
    </tr>
</table><br />
<br />
<table class="formatter-table">
    <tr class="formatter-table-row">
        <th class="formatter-table-head">Exemple de la vie courante</th>
    </tr>
    <tr class="formatter-table-row">
        <td class="formatter-table-col">Dans un jeu à plusieurs personnes, il n'y a qu'un gagnant. Les perdants peuvent alors être considérés comme des « non-gagnants ». </td>
     </tr>
</table><br />
<br />
<br />
Voici le tableau de vérité de l'opérateur (C : condition,  0 : faux, 1 : vrai)<br />
<br />
<br />
<table class="formatter-table">
           <tr class="formatter-table-row">
        <td class="formatter-table-col"><p style="text-align: center;">C</p></td>
              
                <td class="formatter-table-col"><p style="text-align: center;">NOT C</p></td>
    </tr>
         <tr class="formatter-table-row">
        <td class="formatter-table-col"><p style="text-align: center;">0</p></td>
                        <td class="formatter-table-col"><p style="text-align: center;">1</p></td>
    </tr>
            <tr class="formatter-table-row">
        <td class="formatter-table-col"><p style="text-align: center;">1</p></td>
                        <td class="formatter-table-col"><p style="text-align: center;">0</p></td>
    </tr>
 </table><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/print">PRINT</a> "Le gagnant est le joueur 1"<br />
                        20 <a href="https://msxvillage.fr/wiki/input">INPUT</a>"Entrer le numéro de joueur" ;A<br />
                        30 <a href="https://msxvillage.fr/wiki/if">IF</a> <a href="https://msxvillage.fr/wiki/not">NOT</a> A=1 <a href="https://msxvillage.fr/wiki/then">THEN</a> <a href="https://msxvillage.fr/wiki/print">PRINT</a> "Ouhh le loser..." <a href="https://msxvillage.fr/wiki/else">ELSE</a> <a href="https://msxvillage.fr/wiki/print">PRINT</a> "Bravo !"<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 fait d'entrer un numéro de joueur différent de celui du gagnant nous renverra un le message insultant. Si par contre le numéro du joueur est bien le 1, ce sera un message de félicitations.<br />
</td>
    </tr>
</table><br />
<br />
</div></fieldset>]]></description>
			<pubDate>Wed, 14 Oct 2009 10:22:18 +0200</pubDate>
			
		</item>
		
	</channel>
</rss>
