X-Received: by 2002:a05:620a:11b0:: with SMTP id c16mr17195462qkk.354.1637196638226; Wed, 17 Nov 2021 16:50:38 -0800 (PST) X-Received: by 2002:a9d:7a45:: with SMTP id z5mr17365870otm.209.1637196637927; Wed, 17 Nov 2021 16:50:37 -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:50:37 -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: <9bf7ba89-e899-48a7-a76b-3bfc7e9769a7n@googlegroups.com> Subject: =?UTF-8?Q?Re=3A_R=C3=A9soudre_un_bug?= From: AlDo59 Injection-Date: Thu, 18 Nov 2021 00:50:38 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bytes: 1885 Lines: 45 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