Re: where to put a public const in my unit





On Dec 30, 5:16 pm, Rene A <R...@xxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I think i am goining crazy.
Can someone help me where / how to put my constant declaration
so i can use it alsow in other form for te same project.
I can declare it local, but i alsow want to use it behind other forms/units

somethinkg like :

const
  public

   numberone1='hello world';
   numberone2='bye world';

im using D6

Put it in the interface section of your form in a const clause. Then
put the name of the form containing your constant in the uses clause of
the second form's implementation section.

Alan Lloyd

.