home *** CD-ROM | disk | FTP | other *** search
-
- Dear Basil
-
- Here is a quick and dirty prototype for a template utility. It was
- written in haste, so it is by no means comprehensive. Essentially, all
- you need to make it work are OBJECTS.TEM, OBJECTS.TLB and a .WW file of
- your own choosing.
- It creates a report of all objects contained in the editor similar
- in format to the screen display in Show/Hide Object. Presently, there is
- some logic to handle paging and two types of reports (see TESTLONG.REP and
- TESTSHOR.REP for sample output) but be forewarned we're talking patch, hack
- and rig code here.
- The impetus for this utility was template debugging, despite my best
- efforts to the contrary, I sometimes lose track of the object definitions
- in .WW files. One obvious enhancement would be to redirect the output to
- a file other than a .PRG. I would have used SET_OUPUT( <expC> ) but I figured
- that it may cause some confusion with the pre-generation OVERWRITE ? prompt.
- As it turns out, if you need this report, then you are probably not ready
- to generate the final draft of your code anyway.
- As prototypes go, it's alright, but the ultimate implementation would
- be as a command line utility with plenty-o-switches and the ability to
- redirect the output with the DOS ">" operator.
- Towards the end of OBJECTS.TLB there are a few generic functions that
- may be of some use to UI2 owners. (free game)
- I'll send the .WW files and templates that I mentioned at some
- indeterminate time in the future but as far as utilarianism is concerned
- the OBJECTS library is more friendly.
- Oh yes, please pull this note if you decide to put these files on the
- BBS. I would appreciate it. Also, there is a reference to a FREESP message
- in the optsummary function. The code has been commented out but you can
- uncomment if you want to recreate the scenario. Any questions give me a call.
- Later............
-
-
-
- Sincerely
-
- Glyph
- 11:03 am, Tuesday, May 31, 1988
-