drnadeem
asked on
Procedures in a different unit
Dear all,
I have created a newunit using File|New unit and written some of my useful procedures in the unit. However when I wanted to use those procedures, I get error message " Undeclared Identifier".
I have included this unit in the Implentation section of my project. So what am I doing wrong ?
Thanks
Nadeem
I have created a newunit using File|New unit and written some of my useful procedures in the unit. However when I wanted to use those procedures, I get error message " Undeclared Identifier".
I have included this unit in the Implentation section of my project. So what am I doing wrong ?
Thanks
Nadeem
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ummmm... Dmitry, that's exactly what kretzschmar had _already_ suggested.
Don't try to run off with the points.
Don't try to run off with the points.
in your unit, is there something in your interfacepart like this sample:
unit UnitX;
interface
Procedure WhatEver;
implementation
Procedure WhatEver;
Begin
SomeCode;
end;
end.
if not, then copy the procedure/function lines from your implementationart in the interfacepart.
meikl