Thread View: comp.text
2 messages
2 total messages
Started by Phil Bewig
Tue, 26 Jan 1993 06:38
pic question - what is line by?
Author: Phil Bewig
Date: Tue, 26 Jan 1993 06:38
Date: Tue, 26 Jan 1993 06:38
17 lines
746 bytes
746 bytes
I have a pic diagram which uses the construction
line dotted by A, B
where A and B are numbers indicating a position.
The command generates a syntax error at "by" and
the man page makes no mention of "line by".
What is "line by"?
Thanks,
Phil
pbewig@netcom.com
--
Phil Bewig ... pbewig@netcom.COM
Re: pic question - what is line by?
Author: Nils-Peter Nelson
Date: Wed, 27 Jan 1993 19:51
Date: Wed, 27 Jan 1993 19:51
16 lines
1208 bytes
1208 bytes
The one-and-only official DWB pic accepts line by A,B just fine. It means "relative direction"; e.g. line by 1,1 by 1,-1 means "draw a line at 45 degrees from the current position, then -45 degrees, each segment being the default line length." The documentation is exceedingly circumspect on the semantics of "line by" so I will guess that you have a reverse engineered version of pic (eg from groff) and the person doing the reverse engineering couldn't figure out what it meant. My conclusion is that the more inscrutable our documentation, the more difficult our code is to clone. I'll try to keep that in mind.:-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads