






all primitive Names
(by Alberto de Campo)
Synth.do({ arg class;
var primitiveMethodNames;
primitiveMethodNames = class.methods
.collect({ arg method; method.primitiveName })
.select({ arg primName; primName.notNil; });
if (primitiveMethodNames.notEmpty, {
class.name.post;
primitiveMethodNames.asCompileString.postln;
''.postln;
});
});
Class.allClasses.do({ arg class;
var primitiveMethodNames;
if (class.methods.notNil, {
primitiveMethodNames = class.methods
.collect({ arg method; method.primitiveName })
.select({ arg primName; primName.notNil; });
if (primitiveMethodNames.notEmpty, {
class.name.post;
primitiveMethodNames.asCompileString.postln;
''.postln;
});
});
});
Links to this Page
- enter. last edited on 29 January 2003 at 10:46 pm by 203.14.169.19
- Theory last edited on 2 August 2006 at 3:11 pm by Q1e64.q.pppool.de