Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!es2q+ From: es2q+@andrew.cmu.edu (Erik Warren Selberg) Newsgroups: comp.sys.mac.programmer Subject: lsp object problem Message-ID: Date: 31 Dec 89 03:39:49 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 24 I'm having a problem with LSP using objects. What I'm trying to do is pass a method of an object as a procedure/function, and Lightspeed is choking on it (says it needs a function/procedure name) . I'm using code similar to the following: type TGuy=object(TObject) procedure DoMe; end; procedure DoIt(procedure it); begin it; end; procedure DoGuy(guy:TGuy); begin DoIt(guy.DoMe); end; I've tried passing TGuy.DoMe, as well as some other things, but LSP all chokes. Any ideas? Erik