Welcome,
I have unit1.pas, whats my main program.
I want cleanup my code and put some functions into separated file.
I created unit2.
In unit1, at uses i add unit2.
Inside unit2 i have created function.
Problem is, when i want access in this function, other function what i have inside unit1.
I had try, write in uses of unit2 (unit1) but it says its duplicated and i cant do it, because i run this unit from main.
Inside unit1, i add header of my function into pubilc declarations.
So i think it should be visible from unit2.
For test, i add into public varialbe test:string;
and i use this variable from unit2.
(succesfully compiled)
But why i can't run this function ?
Regards