PharoView this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide)


They are methods, but programmed in C language and pre-compiled into the VM. From a Smalltalk programmers point of view, the important thing to know about primitives is that if the primitive succeeds, the method returns without the subsequent Smalltalk code being executed. If the primitive fails (e.g. due to being passed the wrong object types) it fallsback to the Smalltalk code under the primitive call pragma.



Link to this Page