\ClrText
Lbl 0
For 1->Z To 7
Locate 1,Z,"o"
Next
For 1->Z To 21
Locate Z,7,"o"
Next
For 7->Z To 1 Step -1
Locate 21,Z,"o"
Next
For 21->Z To 1 Step -1
Locate Z,1,"o"
Next
For 2->Z To 6
Locate 2,Z,"o"
Next
For 2->Z To 20
Locate Z,6,"o"
Next
For 6->Z To 2 Step -1
Locate 20,Z,"o"
Next
For 20->Z To 2 Step -1
Locate Z,2,"o"
Next
For 3->Z To 5
Locate 3,Z,"o"
Next
For 3->Z To 19
Locate Z,5,"o"
Next
For 5->Z To 4 Step -1
Locate 19,Z,"o"
Next
For 19->Z To 4 Step -1
Locate Z,3,"o"
Next
For 4->Z To 18
Locate Z,4,"o"
Next
For 1->Z To 7
Locate 1,Z," "
Next
For 1->Z To 21
Locate Z,7," "
Next
For 7->Z To 1 Step -1
Locate 21,Z," "
Next
For 21->Z To 1 Step -1
Locate Z,1," "
Next
For 2->Z To 6
Locate 2,Z," "
Next
For 2->Z To 20
Locate Z,6," "
Next
For 6->Z To 2 Step -1
Locate 20,Z," "
Next
For 20->Z To 2 Step -1
Locate Z,2," "
Next
For 3->Z To 5
Locate 3,Z," "
Next
For 3->Z To 19
Locate Z,5," "
Next
For 5->Z To 4 Step -1
Locate 19,Z," "
Next
For 19->Z To 4 Step -1
Locate Z,3," "
Next
For 4->Z To 18
Locate Z,4," "
Next
Goto0
En clair, ce code est encore plus néophyte qu'un code de plus ou moins. |