From: Rajinder Yadav Date: 2010-10-16T12:18:02+09:00 Subject: Re: check contents of a pointer. On 10-10-15 09:34 PM, John Smith wrote: > Hi everyone, > > I created a function pointer that points > to a method. > > m.fptr = m.method( :sigm ) > > However.. later on I need to do an operation depending on the symbol it > is pointing at: > > if m.fptr == :gam > .... > elsif m.fptr == :lin > ... > > How do I obtain this symbol value from m.fptr? > > Ted... > try m.fptr.name -- Kind Regards, Rajinder Yadav