2011/7/24 Michele Pes <mp8...@rambler.ru>

> Hi factorers!
> I'm new to factor, but very interested.
>
> I have a tuple A, and a tuple B that derives from A (B < A)
> If both have a method f and I have an instance of B, how can
> I call the method of the parent (A::f in c++ syntax) ?
>

If you want to call A::f from B::f (as you are likely to do), you can use
call-next-method :
http://docs.factorcode.org/content/word-call-next-method,syntax.html

  Sam
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to