IonicWind Software

Announcements => User Offerings => Topic started by: LarryMc on January 29, 2010, 04:28:47 PM

Title: Finding Subroutines in a large project
Post by: LarryMc on January 29, 2010, 04:28:47 PM
The Visual Designer I'm currently working on( in EBasic) uses a lot of subroutines scattered throughout over a dozen source files (as this will grow before I'm through.)  

I needed to document where all the routines are located and what each is used for (before I forget).

What I did was write a little program to read all the eba files in a given directory and then search each file for subroutines.
As they are found the info is written to a text file.

I wrote it in CBasic because I didn't want to disturb what I was currently doing in EBasic.

It's real simple and straight forward so EB users shouldn't have any problem coverting it to EB.

Maybe someone will find it useful.

Larry
Title: Re: Finding Subroutines in a large project
Post by: Johnny on January 29, 2010, 07:34:49 PM
Thanks Larry, nice idea!

After translating your source to Emergence, I added some functionality, you can now select one, more, or all files in a map by choice.
Maybe you or someone else can use this addition too...

Johnny
Title: Re: Finding Subroutines in a large project
Post by: aurelCB on January 29, 2010, 11:46:42 PM
Thanks Larry,thanks Johnny  :)
This is very useful becose i also sometimes forget where is what .
Especialy in ABasic source which grove to 8000 lines.

all best
Zlatko
Title: Re: Finding Subroutines in a large project
Post by: Techno on April 10, 2012, 03:52:03 AM
LarryMc

The zip files are broken !
I'm using the WinZip tool v12.0

Kind regards
Stephane
Title: Re: Finding Subroutines in a large project
Post by: LarryMc on April 10, 2012, 06:21:33 AM
Quote from: Techno on April 10, 2012, 03:52:03 AM
LarryMc

The zip files are broken !
I'm using the WinZip tool v12.0

Kind regards
Stephane

I reloaded my original but there is nothing I can do about the one Johnny uploaded.

LarryMc