-2

I have started to research Delphi and have created a project that includes packages. I would like to use UMain in one package as follows:

  implementation {$R *.dfm} uses UMain in 'UMain.pas';

But I get this error:

[dcc32 Error] UIssue.pas(98): E2029 , or ; expected but IN found

Any help is appreciated.

t j
  • 7,026
  • 12
  • 46
  • 66

1 Answers1

0

You use the in notation only in the dpr project file. Inside a unit, you just reference the unit name you want to include.

Sam M
  • 4,136
  • 4
  • 29
  • 42