Next: Draw loop process Up: PADEL syntax Previous: Adjust intervals with empty |
BlockNormally one process is drawn in one box, but sometimes you may want to put several processes in the same box. I call this kind of box, with several processes in it, as a block. To draw a block, enclose the commands to be put in the block with line ONLY with {(left brace) and line ONLY with }(right brace) . Here is an example. This is an addition of two vectors.
{ input a.x input a.y } { input b.x input b.y } { c.x = a.x + b.x c.y = a.y + b.y } { print c.x print c.y }
You can use almost any character in a block, and they will be printed as they are. There are some exceptions, though:
By adding an empty line in a block, you can put an empty line in output accordingly.
|
Go back to pad2ps - automatic PAD drawer. Go back to Seiichi Yoshida's Home Page. Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved. Sun Nov 10 01:36:04 JST 1996 |