Finder blows me away again

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Finder blows me away again

Ben Coman
Just sharing...

I wondered if there was a better way of converting an array of strings into one string than doing this...

x := #(
'++' 
'||' 
'++') . 
x flatCollect: [  :c | c ] 

but it was awkward copying the array twice into Finder. 


So I wondered if it could do variable assignment, and it can!! 

i.e...

Tools > Finder > Examples > then simply paste the above snippet into the textfield.  


cheers -ben