🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #32488

Re: How can I Return a listing of all items in Uses clause?

#32488
From: Brendan Bosman
Date: Fri, 22 Nov 2002 14:24
45 lines
1907 bytes
Hi


If you delpve into Gexperts code, you will find a good Delphi code parser.

This will enable you to look for certain keyword like interface section and
implementation section. If you have this you can find a list of file in the
uses clause.

I still think you will have to write some application to extract more
information on these files, especially if you are interesed in seeing which
files makes up the an application.


Regards
Brendan bosman











"M Tuttle" <miket@softtechks.com> wrote in message
news:3dde3236$2@newsgroups.borland.com...
> Greetings All,
>
> I want to create a quick utility that would traverse the pas files in a
> project and return a list of all items in both uses clauses.
>
> Of course I do not want any duplicates in the final list.
>
> Anyone have any tips on how I  might do this?
>
> Any URL's on the subject?
>
> Thanks to all that reply.
>
> Mike
>
>
Technical Details
Message-ID: <3dde3e80@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3dde3236$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,c460a00a0025463c
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2002-11-22 07:16:07 PST
From: "Brendan Bosman" <brendan.bosman@syssol.ie>
Newsgroups: borland.public.delphi.language.objectpascal
References: <3dde3236$2@newsgroups.borland.com>
Subject: Re: How can I Return a listing of all items in Uses clause?
Date: Fri, 22 Nov 2002 14:24:19 -0000
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.105.178.230
Message-ID: <3dde3e80@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1037975168 213.105.178.230 (22 Nov 2002 06:26:08 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail