punctuation (was Re: Eliminating assignments and variable syntax (accessors))

Bob Arning arning at charm.net
Wed Aug 4 21:31:20 UTC 1999


On Wed, 04 Aug 1999 16:06:08 -0400 Alan Knight <alan at objectpeople.com> wrote: 
>For that matter, why do we use "." at all. It's the smallest, hardest to
>see character available, easily confused with ",", etc.

Well, for fun, let's change that:

	| font newForm size |
	font _ TextStyle default defaultFont.
	size _ 3.
	font alter: $. formBlock: [ :charForm | 
		newForm _ Form extent: (size + 2 max: 4)@charForm extent y.
		newForm fillBlack: (1@(font ascent - size) extent: size @ size).
		newForm
	]

You won't confuse this puppy with anything.

Cheers,
Bob





More information about the Squeak-dev mailing list