dim i%,j,cod$,a$,k,nom$,num,titre$ label point,debut,fin list 1 left 1,25 : top 1,40 : width 1,150 : height 1,350 font_size 1,10 font_names_load 1 full_space 0 font_size 0,11
alpha 2 : font_name 2,"arial" left 2,40 : top 2,420 : width 2,100 : height 2,25 caption 2,AFFICHER on_click 2,debut alpha 3 : font_name 3,"arial" left 3,45 : top 3,480 : width 3,100 : height 3,25 caption 3,QUITTER on_click 3,fin alpha 4 : hide 4 : left 4,400 : top 4,15 font_name 4,"arial" 2d_line 20,416,140,416 2d_line 140,416,140,441 2d_line 140,441,20,441 2d_line 20,441,20,416 2d_line 20,476,140,476 2d_line 140,476,140,501 2d_line 140,501,20,501 2d_line 20,501,20,476 end debut: font_color 2,255,0,0 wait 500 font_color 2,0,0,0 num= item_index(1) if num=0 then return nom$= item_read$(1,num) cls 2d_line 20,416,140,416 2d_line 140,416,140,441 2d_line 140,441,20,441 2d_line 20,441,20,416 2d_line 20,476,140,476 2d_line 140,476,140,501 2d_line 140,501,20,501 2d_line 20,501,20,476 titre$ = nom$ + " " show 4 : caption 4,titre$ k=0 : j=0 font_name 0,nom$ display for i%=1 to 255 cod$ = str$(i%) + "= " + chr$(i%) j=j+1 print_locate 180+k*100,25+j*26 print cod$ if j>25 then gosub point next i% 2d_line 20,416,140,416 2d_line 140,416,140,441 2d_line 140,441,20,441 2d_line 20,441,20,416 2d_line 20,476,140,476 2d_line 140,476,140,501 2d_line 140,501,20,501 2d_line 20,501,20,476 return point: k=k+1 j=0 return fin: font_color 3,255,0,0 wait 500 font_color 3,0,0,0 wait 100 terminate
|