PC LOGO 程序说明与范例简编 程序 说明 程序 说明 程序 说明 FD 前进 FILL 颜色填充命令 PU 抬笔 Setbg 数字 改变窗口颜色 RT 右转 Stampov al 画椭圆(圆)命令 LT 左转 BK 后退 PE 笔擦 HT 藏龟 PD 落笔 HOME 回家(起点) SETW 设置笔精细 Repeat 重复命令 LOGO 1 程序 repeat 8 [ repeat 4[fd 20 rt 90 ] rt 45 bk 20]rt 360/8] LOGO 2 程序 repeat 12 [ repeat 12[fd 20 rt 30 ] rt 360/12] LOGO 3 程序 repeat 6 [ repeat 6[fd 20 rt 60 ] rt 60] LOGO 4 程序 repeat 8 [ repeat 8 [fd 20 rt 360/8 ] rt 360/8] LOGO 5 程序 repeat 5 [repeat 4 [fd 30 rt 90]rt 360/5] LOGO 6 程序 repeat 12 [repeat 3 [fd 60 rt 120]lt 10] LOGO 7 程序 repeat 5 [repeat 5 [fd 60 rt 360/5]lt 360/5] LOGO 8 程序 repeat 2 [fd 30 rt 45 fd 30 rt 45 fd 30 rt 90 ] LOGO 9 程序 repeat 8 [ repeat 2 [fd 30 rt 45 fd 30 rt 45 fd 30 rt 90 ]rt 360/8] LOGO 10 程序 repeat 5 [fd 100 rt 180-180/5 ] LOGO 11 程序 repeat 6 [ repeat 6 [fd 100 rt 180-360/6 ]rt 60] LOGO 12 程序 repeat 6 [fd 50 lt 60 fd 50 rt 120] 说明:此程序适用于此类图的不同边的图形。 LOGO 13 程序 repeat 9 [fd 30 lt 360/9 fd 30 rt 80] rt 360/9 LOGO 14 程序 repeat 7 [fd 100 rt 180-180/7] 说明:此程序适用于任何奇数的多边形。 LOGO 15 程序 repeat 5 [fd 70 rt 144 fd 70 rt 54 fd 133 bk 133 lt 126 ] LOGO 16 程序 repeat 6 [fd 70 rt 60 fd 70 rt 120 fd 70 rt 60 fd 70 ] LOGO 17 程序 pd cs rt 18 repeat 5 [fd 70 rt 144 fd 70 rt 54 fd 133 bk 133 lt 126 ] 说明:作图。 repeat 5 [rt 72 pu fd 15 pd fill pu fd 28] 说明:填充颜色。 LOGO 18 程序 Stampov al 40 50 LOGO 19 程序 Stampov al 70 70 LOGO 20 程序 repeat 6[ pu fd 30 pd Stampov al 30 30 rt 60] LOGO 过程执行程序1 (1)编辑器中的过程: (2)命令窗口的程序: (3)雪花图: