bytecode interpreter/compiler bug?
Lendvai Attila
Attila.Lendvai at netvisor.hu
Tue Dec 21 07:55:48 PST 2004
hi!
[
Nil caseOf: {
#Escape -> [].
#LeftArrow -> [].
#RightArrow -> [].
#UpArrow -> [].
#DownArrow -> [].
} otherwise: [
Console ; 'In otherwise...\n'.
].
] do.
if you paste the stuff above it will not get into the otherwise block.
replacing the first Nil to anything else, or commenting out any of the
associations results in the expected behaviour.
i was looking for the fix for a while but i gave up...
bye,
- 101
Slate 2> [
Nil caseOf: {
#Escape -> [console moveCursorRight].
#LeftArrow -> [console moveCursorLeft].
#RightArrow -> [console moveCursorRight].
#UpArrow -> [console moveCursorUp].
#DownArrow -> [console moveCursorDown].
} otherwise: [
Console ; 'In otherwise...\n'.
].
] do.
40
Slate 3>
More information about the Slate
mailing list