[comp.lang.pascal] Need INDENT

arms@olivey.olivetti.com (Steve @ His Desk) (08/27/90)

Hi folks,
I was wondering if any one out there could save me lots of wasted by giving
me a Pascal text formater for source code (something like a pre-processor
which would also do the indentation).

Thanks in advance.
 Bruno Ivasic.

Any replies should be directed to ...!microsoft!oliveb!icoven!bru   OR
                                  bru@icoven.ICO.Olivetti.COM

----NSA Line eater food: CIA NSA Bush drugs mafia sell booze ---
UUCP - arms@oliveb (always)        "Neither fear or wish for your
Cash-we-serve - 73047,1666 (rare)   last day" - Seneca
Italy Phone - (0125) 52-1280 (sometimes)

eli@smectos.gang.umass.edu (Eli Brandt) (08/28/90)

In article <64284@oliveb.atc.olivetti.com> arms@olivey.olivetti.com (Steve @ His Desk) writes:
>
>Hi folks,
>I was wondering if any one out there could save me lots of wasted by giving
>me a Pascal text formater for source code (something like a pre-processor
>which would also do the indentation).
>
>Thanks in advance.
> Bruno Ivasic.

If you mean a pretty-printer, I've seen several around.  One that I remember the name of was "beautify", 
on SIMTEL, I think.  In the Turbo Pascal directory.


Never one to underutilize a mail header, I will ask a completely irrelevant question:
 Has anybody seen a PD object library for Turbo Pascal 5.5?  I've been coding stacks, b-trees, "mouse" 
objects, and so forth, but it would take me a loooong time to write everything I need.  Even shareware
would be nice, since I'm a bit hesitant to shell out 150 dollars for some pig-in-a-poke TPU file which
I will undoubtedly have to spend another $100 to upgrade when I go to v6.0, assuming the company in still
in business.  I'm sure *someone* must have written one...

nmouawad@water.waterloo.edu (Naji Mouawad) (08/29/90)

In article <18994@dime.cs.umass.edu> eli@smectos.CS.UMASS.EDU (Eli Brandt) writes:
>In article <64284@oliveb.atc.olivetti.com> arms@olivey.olivetti.com (Steve @ His Desk) writes:
>
>Never one to underutilize a mail header, I will ask a completely irrelevant question:
> Has anybody seen a PD object library for Turbo Pascal 5.5?  I've been coding stacks, b-trees, "mouse" 
>objects, and so forth, but it would take me a loooong time to write everything I need.  Even shareware
>would be nice, since I'm a bit hesitant to shell out 150 dollars for some pig-in-a-poke TPU file which
>I will undoubtedly have to spend another $100 to upgrade when I go to v6.0, assuming the company in still
>in business.  I'm sure *someone* must have written one...

The only one I can recomend is the Object Professional Library from
Turbo Power. It's excellent. It has stacks, queues, linked-list,
simple and double, it has sets, dictionary, and a few other that
I forgtot. These are the *basic* objects, out of which are derived
tons of more or less specialised ones, such as Window, a pull-down
window, a menu, a pick-list, a browser, a data-base editor, a file
editor, four different units full of objects for managing the
printer, string manipulations, array larger than 64k, it also comes
with several applications: a desktop with clock, calendar, editor,
disk manager, a menu generator, a data base entry generator. It's huge,
about 1800 pages of documentation (it has also a context sensitive help).

It also has a wonderful object called a stream. In a stream you can load
instances of different objects. Even more, you can load instances of updated
objects, and since the read and write is doen by the object itself,
you can read and write instances to a stream, long after it was
created. A descendant of a stream, called libray, is very useful. It offers
random access to all the instances in the stream. Thus, for one application,
I had, the instance of the menu object, the instance of the various data
base entries, that of the printer, several instances of pick lists, the
instance of the printer object and that of the configuration object
all stored in a library. 

I'm a satisfied client of Turbo Power Software. The guys there are programer
and good at it.

Hope this helps.

Naji.

-- 
         ---------------+-------------------------------------------
        | Naji Mouawad  |       nmouawad@water.waterloo.edu         |
        |  University   |-------------------------------------------|
        | Of Waterloo   | "Thanks God, we cannot prove He Exists."  |