Book a Demo

Author Topic: Code generation  (Read 3284 times)

Joe_Metro

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Code generation
« on: January 22, 2003, 06:36:36 am »
Hi,
I have some questions.
-Is there a way to customize the source code header contents from within EA. E.g. add some more lines and so on.
-Can I tell EA to create all classes I create within a package relative to one specific path on my hd.
e.g. Package "common" in c:\work-> class1, class2
delphi generate class2 will be stored in c:\work\common\class2.pas
-Where can I choose the output file name prefix of a class, e.g. the u in the filename uMyClass.pas
Thanks for help
Joe

Takeshi_KOUNO

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Code generation
« Reply #1 on: January 23, 2003, 01:09:20 am »
Hello Joe,

About your first question, EA has a way to add header.
Please read help file:
Code Engineering->Generate Source Code->The Code Generation Dialog

Please try to use two editbox (Import/Header)

About second question, I think EA can also do it.
Help file near above section tell you how to do.

I'm afraid there is no way about third question.
Please tell me if there is a way.

--
Takeshi KOUNO