binary selectors ambiguity and space
Stephan Rudlof
sr at evolgo.de
Mon May 15 23:56:51 UTC 2006
On 16.05.2006 01:39, nicolas cellier wrote:
>...
> In ST/X 5.2.6
> 1 at -2 is interpreted (1) @ (-2)
> But
> 1 at - 2 is interpreted (1) @- (2)
>
> And (- 1) give a warning
> error: non standard Squeak extension: space betwen sign and number.
^^^^^^
ST/X has Sqeak extensions?
Stephan
> But we can proceed and get (-1)
>
> Well, not exactly ANSI, but very close to my interpretation...
>
> Nicolas
>
>
>
--
Stephan Rudlof (sr at evolgo.de)
"Genius doesn't work on an assembly line basis.
You can't simply say, 'Today I will be brilliant.'"
-- Kirk, "The Ultimate Computer", stardate 4731.3
More information about the Squeak-dev
mailing list
|