[comp.sources.wanted] dBASE program formatter needed - is there one?????

aiko@xanth.cs.odu.edu (John K Hayes) (04/19/88)

Hello.  I need a program to format dBASE source programs, nesting structures
and all that.  Does anyone know where I can find one????

I'm working with very large dBASE III+ programs, and it's getting pretty
tedious trying to format them right manually - a real pain in the......

And I need all the help I can get trying to keep dBASE structured (if that's
possible).

Thanks in advance  --  John Hayes

-- 
 ---{john hayes}     Old Dominion Univ; Norfolk, Virginia USA
                     UUCP:  aiko@xanth.UUCP  or  ...!uunet!xanth!aiko
                     ARPA:  aiko@xanth.cs.odu.edu      
                     Home: (804) 622-8348     Work: (804) 460-2241 ext 195  

tr@wind.bellcore.com (tom reingold) (04/19/88)

In article <4925@xanth.cs.odu.edu> aiko@xanth.UUCP (John K Hayes) writes:
$ 
$ 
$ 
$ Hello.  I need a program to format dBASE source programs, nesting structures
$ and all that.  Does anyone know where I can find one????
$ 
$ I'm working with very large dBASE III+ programs, and it's getting pretty
$ tedious trying to format them right manually - a real pain in the......
$ 
$ And I need all the help I can get trying to keep dBASE structured (if that's
$ possible).
$ 

This should be pretty easy to do in Lex.  Lex is provided on Unix
systems.  Hopefully, you posted your query from one.

"Just say NO to empty, dogmatic slogans coined by Nancy Reagan!"
Tom Reingold
PAPERNET:                      |INTERNET:       tr@bellcore.bellcore.com
Bell Communications Research   |UUCP-NET:       bellcore!tr
445 South St room 2L350        |SOUNDNET:       (201) 829-4622 [work],
Morristown, NJ 07960-1910      |                (201) 287-2345 [home]

rms@gubba.SPDCC.COM (Rich Sands) (04/19/88)

In article <4925@xanth.cs.odu.edu> aiko@xanth.UUCP (John K Hayes) writes:
>Hello.  I need a program to format dBASE source programs, nesting structures
>and all that.  Does anyone know where I can find one????
> ---{john hayes}     Old Dominion Univ; Norfolk, Virginia USA
>                     UUCP:  aiko@xanth.UUCP  or  ...!uunet!xanth!aiko
>                     ARPA:  aiko@xanth.cs.odu.edu      
>                     Home: (804) 622-8348     Work: (804) 460-2241 ext 195  

Try "The Documentor" from Wallsoft Systems, Inc.  It does exactly what
you are looking for. Their contact info:

WallSoft Systems Inc.
233 Broadway
New York, NY  10279

(800) 233-3569, or in NY:
(212) 406-7026

-- 
        --  rms

UUCP: {ihnp4,harvard,husc6,linus,ima,bbn,m2c}!spdcc!gubba!rms
Internet: rms@gubba.spdcc.com	Compuserve: 71360,1067	BIX: richsands 

mdf@tut.cis.ohio-state.edu (Mark D. Freeman) (04/19/88)

In <477@gubba.SPDCC.COM> rms@gubba.UUCP (Rich Sands) writes:
>In article <4925@xanth.cs.odu.edu> aiko@xanth.UUCP (John K Hayes) writes:
>>Hello.  I need a program to format dBASE source programs, nesting structures
>>and all that.  Does anyone know where I can find one????
>
>Try "The Documentor" from Wallsoft Systems, Inc.  It does exactly what
>you are looking for.

Actually it won't.  The Documentor will not reindent a file and save
the new version in place of the old.  You can print the reindented
file, and you can save it to a new file name.  DFLOW (an earlier
product by the same company that The Documentor is based on) will do
it, but The Documentor won't.  I own and use both products and think
they are terrific.

-- 
Mark D. Freeman						  (614) 262-1418
					      mdf@tut.cis.ohio-state.edu
2440 Medary Avenue	   ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!mdf
Columbus, OH  43202-3014      Guest account at The Ohio State University

doug@edson.UUCP (Doug Konrad) (04/20/88)

In article <4925@xanth.cs.odu.edu> aiko@xanth.UUCP (John K Hayes) writes:
>  
>  Hello.  I need a program to format dBASE source programs, nesting structures
>  and all that.  Does anyone know where I can find one????
>  
>  I'm working with very large dBASE III+ programs, and it's getting pretty
>  tedious trying to format them right manually - a real pain in the......
>  
>  And I need all the help I can get trying to keep dBASE structured (if that's
>  possible).
>  

sourceprint by Aldebaran Labs will do the trick. It's cheap (<$100), and it
does dbase, c, pascal and basic. It works okay with dbase, very well with c.
I don't use the other two programs. I've also used it to format lex and yacc
programs, where it does an acceptable job (better than pr).

But do shop around. There are probably half a dozen formatters out there for
dbase, and this doesn't include the PD one's...

Doug

gerry@syntron.UUCP (G. Roderick Singleton) (04/26/88)

In article <122@edson.UUCP> doug@edson.UUCP (Doug Konrad) writes:
>In article <4925@xanth.cs.odu.edu> aiko@xanth.UUCP (John K Hayes) writes:
>>  
>>  Hello.  I need a program to format dBASE source programs, nesting structures
>>  and all that.  Does anyone know where I can find one????
>>  
>>  
>
>sourceprint by Aldebaran Labs will do the trick. It's cheap (<$100), and it
>does dbase, c, pascal and basic. It works okay with dbase, very well with c.
>
>Doug
[ stuff deleted, of course]

Hey guys!  Last time I looked at a dBIII manual was for version 1.00 but tucked
neatly in the back of the manual was a formatter written in dBASEIII, itself.

Sooo, before spending dollars see if you can locate this little gem.  If its
not in the manual, I'll bet its in the Advanced Programmer's Guide from 
Ashton-Tate.  It indents properly, checks variable names for consistency
and even does some rudimentary lint-like things on the sources.

gerry
-- 
G. Roderick Singleton, Technical Services Manager
gerry@{ syntron | geac | eclectic }.UUCP
"ALL animals are created equal, BUT some animals are MORE equal than others."
George Orwell

dougie@its63b.ed.ac.uk (Dougie Nisbet) (04/29/88)

>
>Hey guys!  Last time I looked at a dBIII manual was for version 1.00 but tucked
>neatly in the back of the manual was a formatter written in dBASEIII, itself.
>
>Sooo, before spending dollars see if you can locate this little gem.  If its
>not in the manual, I'll bet its in the Advanced Programmer's Guide from 
>Ashton-Tate.  It indents properly, checks variable names for consistency
>and even does some rudimentary lint-like things on the sources.
>

Sounds great, but *where* the hell is it? I've got ver 1.1 and looked thru 
all the disks and can't find it. What's it called?
(Or p'haps its only for ver 1.0)

>gerry

Dougie 

browning@cory.Berkeley.EDU (Craig Browning) (05/01/88)

In article <4925@xanth.cs.odu.edu> aiko@xanth.UUCP (John K Hayes) writes:
>
>Hello.  I need a program to format dBASE source programs, nesting structures
>and all that.  Does anyone know where I can find one????
>Thanks in advance  --  John Hayes

This is a hot tip:
There is a fantastic program distributed without charge by Walter Kennamer
named SNAP. It will reformat your dbase programs to your specifications,
and check for errors such as unmatched loops etc., print tons of cross
reference lists, data structures etc. It's great. The latest version I've
seen is 2.02a. I believe it's available on Compuserve, and that's where
{Walter is at account 74025,514 but please don't deluge him with letters.
I hope someone will find a place to post to the where you can get it; if
someone will email me or call at 415-642-5625 to tell me how to get it on
simtel, I'll ftp it. I hope someone will suggest the best way to get it,
I'm not sure about posting it to binaries cuz it's 200K.

Craig
No disclaimer; your chance to get rich! sue!