[Jprogramming] Look again at y*y*y
Linda Alvord
lindaalvord at verizon.net
Sun Mar 18 11:27:54 HKT 2012
I posted these examples not because they are wrong or right, but to
emphasize the difference between the tacit versions of right and wrong
expressions. The pattern is the same. If it is wrong it is missing a ~ .
My thought was that it might be helpful for finding a correction for the
problem.
why=: 13 :'y+y' NB. wrong
why
+
why=: 13 :'y-y' NB. right
why
-~
why=: 13 :'y*y' NB. wrong
why
*
why=: 13 :'y%y' NB. right
why
%~
why=: 13 :'y+y+y' NB. wrong
why
] + +
why=: 13 :'y-y-y' NB. right
why
] - -~
why=: 13 :'y*y*y' NB. wrong
why
] * *
why=: 13 :'y%y%y' NB. right
why
] % %~
All the spaces between the lines in my message didn't help to demonstrate
what I was trying to show.
Linda
More information about the Programming
mailing list