D
D
Dmitry Afonchenko2015-04-11 12:47:58
Delphi
Dmitry Afonchenko, 2015-04-11 12:47:58

How to make a class and a description of its methods in a separate file in Delphi?

Good afternoon, I ran into this issue. I was writing a game in which there are several classes, over time the code became too large and there was a desire to scatter it into files for convenience. The question is how to do it? The first thing that came to my mind was to create some units and just connect them using uses, but it didn't work. I would be grateful for any link on the Internet or for help in how to more specifically formulate a search query. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bobrovskyserg, 2015-04-11
@Indermove

The first thing that came to your mind was the only correct one.
Try again.

S
serafims, 2015-04-24
@serafims

If the task is to separate a unit with a huge class, then you can try to make a separate list of method declarations through the include directive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question