home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
c
/
tprint.arc
/
TPRINT.DOC
< prev
Wrap
Text File
|
1983-12-20
|
2KB
|
57 lines
TPRIN╘á i≤á ye⌠á anothe≥ prin⌠ program¼á tha⌠á ha≤á threσ ì
marginall∙ usefu∞ features« Yo⌡ invokσ i⌠ by:
TPRINT <file> <options>
AnΣá i⌠á jus⌠ print≤ thσ filσ t∩á PRN:«á <file╛á mus⌠á bσ ì
unambiguous¼á anΣá canno⌠ bσ ß path«á TPRIN╘ alway≤ expand≤á tab≤ ì
ever∙á eigh⌠ columns«á Al∞ option≤ arσ singlσ letter≤ (n∩ - o≥ /⌐ ì
anΣ mus⌠ bσ separateΣ b∙ spaces.
Options are:
C 'C' source file
Thi≤á i≤á thσ onl∙ reall∙ usefu∞á one¼á beside≤á T«á Thi≤ ì
cause≤á ßá formfeeΣ afte≥ eacΦ ├ function¼á t∩ makσ i⌠ easie≥á t∩ ì
reaΣá ├ programs«á i⌠ als∩ count≤ thσ wiggl∙ bracke⌠á level¼á anΣ ì
display≤ thi≤ alonτ thσ lef⌠ edge¼ likσ so:
{0} main() {
{1}
{2} if (nothing) {
{2} die();
{2} } otherwise {
{2} if (nothing) {
{3} if (nothing) {
{4} die();
{3} }
{2} }
{1} }
{0} }
Addinτá linσ number≤ make≤ debugginτ froφ compile≥á erro≥ ì
message≤ ß lo⌠ easier«
NOTE║á Thi≤ make≤ findinτ screweΣ u≡ bracket≤ easier«á Iµ ì
yo⌡ seσ ß ne≈ pagσ star⌠ beforσ thσ enΣ oµ ß function¼ yo⌡ haΣ aε ì
extrß }¼ iµ i⌠ start≤ ß ne≈ pagσ to∩ early¼ yo⌡ haΣ aε extrß {.
T Top of page title.
Put≤ thσ namσ oµ thσ filσ anΣ thσ pagσ numbe≥ acros≤á thσ ì
to≡ oµ eacΦ page«á 8░ column≤ i≤ assumed¼á wil∞ oµ coursσ worδ oε ì
wide≥ paper.
N Line numbers
Likσá ancien⌠ PIP¼á number≤ eacΦ linσ witΦ ß threσá digi⌠ ì
number.
M Add a left Margin
Jus⌠á cause≤á ß taΓ t∩ bσ addeΣ afte≥ an∙ othe≥á optiona∞ ìèrubbisΦ a⌠ thσ lef⌠ edgσ oµ thσ paper.