Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Hans-Peter Diettrich Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: Undeclared identifier error getting. Date: Tue, 30 Sep 2014 11:23:55 +0200 Lines: 18 Message-ID: References: <49495c98-6639-46b0-9d55-48ea0e28404a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 5tMC+uMR3Ge8oedeZ6KfyQY4pacozy96qS45qcRjAax4FbqtXl Cancel-Lock: sha1:VA/ETNczInLktaB+v0UzFnc8gVI= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <49495c98-6639-46b0-9d55-48ea0e28404a@googlegroups.com> Xref: csiph.com comp.lang.pascal.delphi.misc:638 Sandeepan Kashyap schrieb: > Hi, > > we are trying to access a function DoSomething() of unit stringcheck from unit Demographics . While running, we are getting 'Undeclared identifier: 'TSharedFunctions1' error, not sure why? though we have used the unit in main Unit. > Any ideas will be greatly appreciated. > > unit stringcheck; > interface > implementation > {$R *.RES} > uses sysutils ,StrUtils; > type > TSharedFunctions1 = class Whatever shall be visible in other units must reside between "interface" and "implementation". Just like in Demographics... DoDi