Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Richmond Newsgroups: comp.lang.logo Subject: An example Date: Thu, 06 Apr 2023 12:30:21 +0100 Organization: Frantic Message-ID: <85y1n5dz8y.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: solani.org; logging-data="3278319"; mail-complaints-to="abuse@news.solani.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:NoJfcxwagSnYBh1UAtTw6n0IIZk= sha1:jjAoE3/2briKVEdM9F04kUwprzo= X-User-ID: eJwFwYEBACAEBMCVkvc0Tsj+I3RnSmE5aISNTdJREUguv32PmtSYj74g5eTu3IFFf4nqjQ8WShDe Xref: csiph.com comp.lang.logo:145 I skimmed through the UCB Logo manual, but didn't see any examples of programs to draw pictures. All I could remember of Logo was Acornsoft Logo. Then I though, why not ask ChatGPT to write a program to draw a square? and it did. Here is an example I wrote to use the square: to square :size repeat 4 [fd :size lt 90] end to poly :size repeat 36 [square :size lt 10] end (Tested with QLogo).