[lazarus] FPC Request

Shane Miller SMiller1 at stvgb.org
Mon Oct 25 16:26:52 EDT 1999


I must say that the 2 requests I really need fixed is to allow the statement

inherited;

to compile and 2nd would be why this compiles in Delphi but not FPC

var
Something : TStrings
Str := Something[I];

Why do I have to do this under linux
Str := Something.Strings[I];

??????

Shane



>>> "Shane Miller" <SMiller1 at stvgb.org> 10/25/99 01:40PM >>>
Another request:

Delphi allows you to assign a Pointer variable to a TObject by doing the conversion for you, so you don't need to typecast it.
For example

Var
P: Pointer;
T: TObject;

Begin

P := T;

End;

FPC makes you typecast T as a Pointer.

Also, the other way around should work too. 

T := P;

so I don't need to typecast P as a TObject.

Could this be done?

Shane


_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list