Andrew Hunt wrote: > > What do the vertical bars around the f ("|f|") above indicate ? > A local variable to the block, used to pass the parameter from File.new. It's been too long since I used Smalltalk, but doesn't |f| inside a smalltalk block declare a block-local temporary, rather than an argument? I thought it was something like [ f: g: |q r| code goes here ] that says "f" and "g" are arguments, q and r are temps? If I'm remembering right, I'd say it's a minor faux pas to use syntax from Smalltalk and have it mean something subtly different. -- Darren New / Senior MTS & Free Radical / Invisible Worlds Inc. San Diego, CA, USA (PST). Cryptokeys on demand. schedule.c:7: warning: assignment makes calendar_week from programmer_week without a cast.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4