> A program doesn't have a namespace that one can access, AFAIK (someone care
> to correct?).
Note to self: Actually it does, as mentioned in another email from IK.
i.e.
program1.test
> var // initialized record
> NameSpace: TNameSpace(test: @test);
I meant:
NameSpace: TNameSpace = (t
Ido wrote:
> I saw an interesting bug on C++, and I was wondering how to solve this
> type of bug in Pascal:
>
> {$MODE OBJFPC}
> program namespace_test;
>
> function test : boolean;
> begin
> result := true;
> end;
>
> type
> TTest = class
> function test : boolean;
> end;
>
> function TTes