| Del 7 - Styra ett X |
![]() | ![]() | ![]() | |
![]() | ![]() | ![]() | ![]() |
| Getkey |
![]() | ![]() | ![]() | |
![]() | ![]() | ![]() | ![]() |
| Getkey Ex. |
|
While 1=1 ClrText Locate 1,1,Getkey WhileEnd |
| Slut På Kod |
| Flytta ett X |
|
10->X 3->Y While 1=1 ClrText Locate X,Y,"X" If Getkey= 28 Then Y-1->Y IfEnd If GetKey=37 Then Y+1->Y IfEnd IF GetKey=38 Then X+1->X IFEnd If GetKey=27 Then X-1->X IfEnd WhileEnd |
| Slut På Kod |