Re: [F-Script-talk] Re: inspectWith objects
Brought to you by:
pmougin
From: bob a. <rd...@pa...> - 2002-05-03 16:25:04
|
very good. i am learning - slowly. thank you. by the way, what does the 'F' in 'F-Script' stand for? i wish success to FScript. On Friday, May 3, 2002, at 05:12 AM, Philippe Mougin wrote: > > 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} > |