### Comment on

 Need Help??
Opps, the code I posted earlier confused the HTML syntax. Here's the complete code reposted...

```for (589840, 117506056, 134225920, 671555840,
534280, 1058576, 654911248, 151718157,
269160461, 168496907, 168627981)
{
(\$x, \$y, \$v, \$w) = unpack "c*", pack "l", \$_;
\$e = \$v - \$x; \$g = \$w - \$y;
\$h = abs \$e; \$k = abs \$g;
\$d = \$h > \$k;
for (0..((\$d) ? \$h : \$k))
{
\$f += \$d ? \$g/\$e : \$e/\$g;
\$f1 = \$f;
int \$f && do
{
\$y += \$d ? (\$g > 0 ? 1 : -1) : 0;
\$x += \$d ? 0 : (\$e > 0 ? 1 : -1);
\$f += \$f > 0 ? -1 : 1
};

\$c[\$y] ||= ' ' x 60;
substr(\$c[\$y],\$x+1,1) = abs \$f1 >= 1 ?
\$f1 > 0 ? "\\" : "/" : \$d ? "-" : "|";
\$d ? (\$x += \$e>0 ? 1 : -1) : (\$y += \$g>0 ? 1 : -1);
}
}
\$" = "\n";
print"@c\n";

__END__
The following is the picture data in heximal format,
Each number is x1,y1,x2,y2.

0x00090010, 0x07010008, 0x08002000, 0x28072100,
0x00082708, 0x00102710, 0x27092710, 0x090B090D,
0x100B100D, 0x0A0B0F0B, 0x0A0D0F0D

In reply to Re: Re: LineDraw Japh by Roger
in thread LineDraw Japh by benn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

• Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
• Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
• Read Where should I post X? if you're not absolutely sure you're posting in the right place.
• Posts may use any of the Perl Monks Approved HTML tags:
a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
• You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
 For: Use: & & < < > > [ [ ] ]
• Link using PerlMonks shortcuts! What shortcuts can I use for linking?

Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2018-05-27 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
World peace can best be achieved by:

Results (194 votes). Check out past polls.

Notices?