Table des codes ASCII en PANORAMIC
Codes ASCII de 0 à 127
L'American Standard Code for Information Interchange
(Code américain normalisé pour l'échange d'information),
plus connu sous l'acronyme ASCII est une norme
de codage de caractères en informatique ancienne et connue
pour son influence incontournable sur les codages
de caractères qui lui ont succédé. Elle était la plus largement
compatible pour ce qui est des caractères latins non accentués.
Code :
dim i,j,a,d$:a=0
data "NUL","SOH","STX","ETX","EOT","ENQ","ACK","BEL","BS"
data "HT","LF","VT","FF","CR","SO","SI","DLE","DC1","DC2"
data "DC3","DC4","NAK","SYN","ETB","CAN","EM","SUB","ESC"
data "FS","GS","RS","US","Space "
width 0,900:height 0,800:color 0, 211, 139, 89
grid 1:width 1,50*11+15:height 1,36*14+5:top 1,50:left 1,50
width 0,width(1)+120:height 0,height(1)+140
grid_row 1,14:grid_row_fixed 1,1
grid_row_height 1,35:grid_column 1,11
grid_column_fixed 1,1:grid_column_width 1,50
for i=1 to 11 :grid_write 1,1,i,i-2:next i
for i=1 to 14 :grid_write 1,i,1,i-2:next i
grid_write 1,1,1,"0\0":font_size 1,15
for i= 2 to 14 :for j =2 to 11
if a<33 then read d$:grid_write 1,i,j,d$
if a>32 and a<127 then grid_write 1,i,j,chr$(a)
if a=127 then grid_write 1,i,j,"DEL"
a=a+1 :next j:next i
inactive 1
Aucun commentaire:
Enregistrer un commentaire