interpreter exit too easily

Paul Dufresne dufrp at hotmail.com
Fri May 2 07:19:41 PDT 2003


Well, the best is for me to copy paste of my tries with slate:
==================

G:\slate>slate.fas
Slate 1> 4 upTo: 8 do: [ | :n | n print].
Backtrace
---------
---------
Error: A method named 'upTo:do:' was not found for the arguments: (4 8
<WM: *PRIMITIVE-METHOD*, (traits lineNumber fileName selector accessor
  arguments lexicalParent sourceCode code activation)>)
Return to the Slate top level?  (y/n)
Please answer with y or n : n

*** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type WM-OBJECT

G:\slate>slate.fas
Slate 1> 'src/init.slate' fileIn.
Hi, there!
Nil
Slate 2> 4 upTo: 8 do: [ | :n | n print].
Nil
Slate 3> 4 as 'Hi'.

*** - Bad selector name in keyword method invocation on line 3: Hi

G:\slate>
G:\slate>slate.fas
Slate 1> 'src/init.slate' fileIn.
Hi, there!
Nil
Slate 2> ConsoleOutput nextPut: 56.
Backtrace
---------
---------
Error: A method named 'nextPut:' was not found for the arguments: (<WM: 
*CONSOLE
-OUTPUT*, (traits
  Stream)>
56)
Return to the Slate top level?  (y/n)
Please answer with y or n : y
Slate 3> ConsoleOutput nextPut: 'Hi'.
Backtrace
---------
---------
Error: A method named 'nextPut:' was not found for the arguments: (<WM: 
*CONSOLE
-OUTPUT*, (traits
  Stream)>
Hi)
Return to the Slate top level?  (y/n)
Please answer with y or n : n

*** - SYSTEM::%STRUCTURE-REF: NIL is not a structure of type WM-OBJECT

G:\slate>

=================================================================

The worst is exiting with 'bad selector name on keyword',
I'd like to stay at the top level. I'd rather would like
a default answer of yes to the question 'Return to the Slate top
level?' since I won't use the debugger soon, even more since it
does not looks like it is working here.










_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/




More information about the Slate mailing list