Ti-Wiki !

 

Disp

Page history last edited by Syfo 2 yrs ago

Disp  est une commande utilisée en programmation qui a pour effet d'afficher sur l'écran un texte, un nombre, un résultat etc.

 

Syntaxe :  

 

Disp "TEXTE"    ou

Disp Variable    ou

Disp L2      ou

Disp [A]

...

 

 

Exemples :

 

Pour afficher ABCD123 à partir d'un programme, il faut faire ceci :

Disp "ABCD1233"

 

Pour afficher la valeur de A (variable A) à partir d'un programme, il faut faire ceci :

Disp A

 

Pour afficher L1 (liste 1) à partir d'un programme, il faut faire ceci :

Disp L1

 

Il est egalement possible d'afficher plusieurs chaines de texte, variables ou autres avec un seul Disp, en separant ce qui doit etre affiche par une virgule:

 

Disp "ABCD1233",A,L1

 

 

Comments (0)

You don't have permission to comment on this page.