X-Received: by 2002:a05:6214:e41:: with SMTP id o1mr60315307qvc.43.1637196764870; Wed, 17 Nov 2021 16:52:44 -0800 (PST) X-Received: by 2002:a05:6808:221c:: with SMTP id bd28mr4123993oib.56.1637196764630; Wed, 17 Nov 2021 16:52:44 -0800 (PST) Path: ...!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: fr.comp.lang.postscript Date: Wed, 17 Nov 2021 16:52:44 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=77.201.135.213; posting-account=M5x_kwoAAABhq7-NVGMiQ44cp0634k9O NNTP-Posting-Host: 77.201.135.213 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <554b7db4-fd17-431c-9883-ad5d7228f6e6n@googlegroups.com> Subject: =?UTF-8?Q?Re=3A_R=C3=A9soudre_un_bug?= From: AlDo59 Injection-Date: Thu, 18 Nov 2021 00:52:44 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bytes: 1889 Lines: 46 Le mardi 16 novembre 2021 =C3=A0 23:05:40 UTC+1, LaLibreParole a =C3=A9crit= =C2=A0: > Bonjour,=20 >=20 > Il y a un bug dans ce code, mais je n'arrive pas =C3=A0 le trouver.=20 > Pouvez-vous m'aider ?=20 >=20 > % draw a grid of 20 x 10 lines=20 > save=20 > 0.1 setlinewidth=20 > 20 20 translate=20 > 0 10 200 { %for=20 > dup 0 moveto 0 100 rlineto=20 > } for=20 > stroke=20 > 0 10 100 { %for=20 > 0 1 index moveto 200 0 rlineto=20 > } for=20 > stroke=20 > restore bonsoir, comme ceci peut-=C3=AAtre : %PS % draw a grid of 20 x 10 lines save 0.1 setlinewidth 20 20 translate 0 10 200 { %for dup 0 moveto=20 100 lineto } for stroke 0 10 100 { %for dup 0 exch moveto=20 200 exch lineto } for stroke restore