Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-04

One question?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Ok, I found time as soon as I posted previous message. And realised one thing.

I don't assign anything, I just check wheter object or interface supports some type and return boolean.

Whole point of this is to be flexible.

Can you show example so I would know what to correct?

I only handle these
bool := (sometype is TClass)
bool := (sometype is TGuid)
bool := (someinterface is TGuid)
Do I accidentaly allow something else.

ok, I saw that I accidentaly included part of custom operator use handling, is that it? But that one demands defined operator.

If I would enable comparing only related, then is probably wouldn't make any sense. "is" is in all other languages is made as safecheck before "as" and nothing else. No assigning.

ml

---------------------------------------------------------------------- This mail sent through Horde-Toaster (http://qmailtoaster.clikka.com/)

Reply by email