Tags: calling, calls, create, database, documentation, foxdoc, foxpro, header, microsoft, miss, mysql, oracle, parse, project, run, sql, trees, wizard

Documentation Wizard

On Database » Microsoft FoxPro

3,629 words with 2 Comments; publish: Fri, 04 Jan 2008 22:20:00 GMT; (25046.88, « »)

I miss Foxdoc.

When trying to run the documentation wizard on a project, it doesn't create calling trees, or parse the calls right in the header. I'm obviously doing something wrong, but I can't figure out what. Using VFP9. Here is a sample of the output code headers:

*:******************************************************************************

*:

*: Procedure File XXXXXXXXXX\REGIMAGE.PRG

*:

*:

*: Documented using Visual FoxPro Formatting wizard version .05

*:******************************************************************************

*: REGIMAGE

SCH=_SCREEN.HEIGHT

SCW=_SCREEN.WIDTH

SCT=_SCREEN.TOP

SCL=_SCREEN.LEFT

_SCREEN.HEIGHT=164

_SCREEN.WIDTH=393

_SCREEN.TOP=669

_SCREEN.LEFT=623

DO browsereventsreg WITH 'https://www.whatever.com/'

.

.

<rest of code snipped>

.

.

*!******************************************************************************

*!

*! Procedure CHKIMG

*!

*! Calls

*! ADIR

*! ALLTRIM

*! DATE

*! DATETIME

*! DTOC

*! EMPTY

*! EOF

*! FILE

*! LEN

*! MESSAGEBOX

*! RECNO

*! STR

*! SYS

*! wha

*!

*!******************************************************************************

PROCEDURE chkimg

LOCATE

DO WHILE !EOF()

? STR(RECNO()) + STR(LEN(cfront)) + STR(LEN(cback))

IF !EOF()

SKIP

ENDIF

ENDDO

You can see the calls in the chkimage procedure header do not have any reality to the calls in the procedure itself, but actually refer to calls in the main procedure. I have tried making a project and documenting it, and also documenting just the program. Results are similar except in the project documentation, it shows chkimage calling browsereventsreg in the chkimage header, and no other calls. Chkimage is shown complete. Other code is snipped. This is driving me nuts.

All Comments

Leave a comment...

  • 2 Comments
    • I suggest you to try Project Documenting Machine (PDM) by Martin Jindra at http://gorila.netlab.cz/pdm.html

      I've used it myself and it's a great tool.

      Here is the description:

      PDM creates a full and detailed HTML documentation of VFP projects or list files - databases, table structures, queries, forms, VCX libraries, FLL libraries, reports, labeles, menus and etc.

      PDM supports:

      - Syntax coloring,

      - More plug-ins

      - Incremental generation

      - File list

      - Friendly projects (cooperative projects)

      - Multilanguage GUI

      - Auto Print

      - File list generation for further printing or conversion to PDF/PS

      - Detail description of methodes/procedures and properties

      - Custom Links

      A perfect tool for developers. Freeware. Source codes included.

      #1; Wed, 03 Oct 2007 17:24:00 GMT
    • AFAIK, the Documenting Wizard is FoxDoc, just with a new interface.

      Tamar

      #2; Wed, 03 Oct 2007 17:25:00 GMT