Assignment arrow (Re: Complexity and starting over on the JVM)

Yoshiki Ohshima yoshiki at vpri.org
Tue Feb 5 05:37:11 UTC 2008


  I just modified two lines in Scanner and now you can use left arrow
for assignment.  (Which is not for the first time and has been done by many.)

  In the attached picture, variable "a" gets 10 and the assignment
symbol is U+2190 (taken from a Japanese font).  Variable "b" gets "a *
3" and the assignment is traditional one.

  As for input the character, it doesn't have to be a single
keystroke.  What I suggested here:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2004-December/085348.html

got implemented as announced here:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2007-April/115513.html

-- Yoshiki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assignment.png
Type: image/png
Size: 2740 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080204/7ce5d31a/assignment.png


More information about the Squeak-dev mailing list