I wrote something like this a while ago.  It has a driver program that prompts 
for what you want (includes, calls, etc) and what program to start on, then 
calls the main external subroutine. 

This external subroutine recursively calls itself for each call and include.

The trick to this is to remember which programs you have already checked.  
Otherwise, you could find yourself in a nasty endless loop because you keep 
testing the same subroutines over and over.

John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Tony G
Sent: Tuesday, May 26, 2009 4:31 PM
To: [email protected]
Subject: RE: [U2] UV BASIC Flowing Charting Tools

The trick isn't creating charts, or pretty ones.  The trick is to
create a flowchart from BASIC which shows Calls and Includes (one
kind of report), or files and fields used (another kind of
report).  You can take it further and trace Exceutes, procs,
paragraphs, etc.  All of those report types are data-centric and
it's a real challenge to create a generic utility that can derive
that sort of metadata from any given MV application.  Once you
have the data you can render it with any tools you wish.  Doing
the charting is the easy part.  :)

I believe Brian Leach has something for doing MV-oriented flow
charting as described above.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Visit PickWiki.com!  Contribute!

From: dennis bartlett
> I like FusionCharts.

> Steve Romanow wrote:
> not specifically for unibasic, but Dia is nice and free.

>> Marco Manyevere wrote:
>>> Does anyone have a good recommendation for Universe 
>>> BASIC source code flow charting software to aid with 
>>> analysis and documentation of existing code?
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to