Note that "#airplane" is just a compact notation equivalent to the following
block literal: [:arg| arg airplane].
Actually, you are not restricted to use the compact notation for blocks when
invoking "inspectWith:", or any other method requiring blocks as arguments.
Thus, you can express arbitrarily complex expression in your blocks...
So what you want is:
F inspectWith:{#ident, [:aFlight | aFlight airplane location]}
-- Phil
----- Original Message -----
Subject: [F-Script-talk] inspectWith objects
trying to use inspectWith on tutorial objects:
F inspectWith:{#ident,#airplane}
but 'airplane' is an object.
so if i wanted to include, say, 'location' value in the inspectWith, what
would be the syntax.
this doesn't work:
F inspectWith:{#ident,#airplane location}
|