On 21-10-2010, at 13:18, Oscar E A Callau wrote: > > Hi all, > > I have a (basic) question: > > What is a primitive method? > > In pharo 1.1.1, we have CompiledMethod>>primitive that basically return: > > 0 if the method is not a primitive method >> 0 otherwise
"This must be, as follow" 0 if the method is not a primitive method (greater than 0) otherwise "(mail.app changes greater than symbol)" > > But if you execute this on i.e. Number>>isNumber or Morph>>#model compiled > methods you get that these two are primitive methods. Are they primitive > methods? > > Other (related) question is: When I executed the expression: > > SystemNavigation default allPrimitiveMethods > > , I get a OrderedCollection with 5581 elements. Are all those methods, > primitive methods? > > > Thanks in advance > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
