I thought I was getting closer to understanding
pointers but it appears that I'm still not getting it.
I wrote the following code fragment but it doesn't
compile. the errors I get are...
Widget_container_class.pas(80,27) Error: Illegal
qualifier
Widget_container_class.pas(88,23) Error: Illegal
q
On Fri, 9 Jul 2004, Ron Weidner wrote:
> I thought I was getting closer to understanding
> pointers but it appears that I'm still not getting it.
> I wrote the following code fragment but it doesn't
> compile. the errors I get are...
>
> Widget_container_class.pas(80,27) Error: Illegal
> qual
> At first glance, this should read
> PwidgetSomething(PCurWidget^.widget)^.meta =
> 'ENTITY'
> because widget is an untyped pointer ?
>
> And the same for the other line ?
>
> Michael.
Thanks Michael. Actually widget is a typed pointer
but the problem I was trying to solve is that widget
co
Ron Weidner a écrit :
>
> I thought I was getting closer to understanding
> pointers but it appears that I'm still not getting it.
> I wrote the following code fragment but it doesn't
> compile. the errors I get are...
>
> Widget_container_class.pas(80,27) Error: Illegal
> qualifier
> Widget_co
Hello List!
Compiling the unit
===
unit test;
interface
procedure test.do_test;
implementation
procedure test.do_test;
begin
end;
end.
===
results in compiler errors:
test.pas(5,15) Error: overloaded identifier TEST isn't a function
test.pas(5,15) Fatal: Syntax error, ; expected but . found
IMHO, t
Hello!
Ron Weidner wrote:
I thought I was getting closer to understanding
pointers but it appears that I'm still not getting it.
I wrote the following code fragment but it doesn't
compile. the errors I get are...
Widget_container_class.pas(80,27) Error: Illegal
qualifier
Widget_container_class.pas
Anton Tichawa a écrit :
>
> Hello List!
>
> Compiling the unit
>
> ===
>
> unit test;
>
> interface
>
> procedure test.do_test;
>
> implementation
>
> procedure test.do_test;
> begin
> end;
>
> end.
>
> ===
>
> results in compiler errors:
>
> test.pas(5,15) Error: overloaded identifier
> Note: I don't see the definition of PWidget in your
> code peace. I assume
> it's a pointer to a record containing a string
> member named meta. But in
> your procedure
>
> procedure AddWidget(PWidget:pointer);
>
> you use the very same identifier, PWidget, for a
> variable name. That's a
>
--- Marcel Martin <[EMAIL PROTECTED]> wrote:
> Anton Tichawa a écrit :
> >
> > Hello List!
> >
> > Compiling the unit
> >
> > ===
> >
> > unit test;
> >
> > interface
> >
> > procedure test.do_test;
> >
> > implementation
> >
> > procedure test.do_test;
> > begin
> > end;
> >
> > end.
> >