compiler run: or something
Offline
no, heres what I've done:
Blockspec:
('run %s' #- #run: 'method')
run: t1
self t1 asString.Last edited by WindowsExplorer (2011-08-22 16:31:53)
Offline
WindowsExplorer wrote:
no, I just need help debugging teh code above.
It doesn't work, because what you're asking there is passing t1 onto 'self', and t1 is a method. You'll need a pointer if you want to do that, and I don't think Squeak supports pointers.
But that doesn't matter since we've got easy methods to do that anyway.
Try
compiler execute: for:
or execute: for:
meh i forget
Offline
Finally dug up the code from Bingo 1.2!
it's Compiler evaluate: aString for: self logged: false
Offline