Post by donnybowers on Feb 24, 2019 22:04:52 GMT -5
The following code produces error:
Unhandled exception: Message not understood: #readLimit
error.log
Unhandled exception: Message not understood: #readLimit
filedialog "Open .bas file", "*.bas", fileName$ ' I know this part works
open fileName$ for input as #f
txt$=input$(#f, lof(#f))
close #f
print txt$
error.log
==2019/2/24==21:55:20==BEGIN RUNTIME DIAGNOSTIC DUMP
Note: this file stored in VisualWorks #source (UTF-8) encoding
Cause of Dump: Unhandled exception: Message not understood: #readLimit
Smalltalk Version: 'VisualWorks®, Pre-Release 8.3.2 (apr18.3) of April 20, 2018'
Object Memory versionId: #[172 40 76 176 83 2 3 4 172 47 76 176]
Class creating this dump: ErrorDumper
------------------------------------------------------------
Active Process
Process named: 'Unnamed Process'
Process priority: 50
Process identity hash: 15260
Context Stack:
[1] optimized [] in Director>>direct:
[2] BlockClosure>>cull:
[3] MessageNotUnderstood(GenericException)>>performHandler:
[4] MessageNotUnderstood(GenericException)>>propagatePrivateFrom:
[5] MessageNotUnderstood(GenericException)>>propagateFrom:
[6] MessageNotUnderstood(GenericException)>>propagate
[7] MessageNotUnderstood(GenericException)>>raiseSignal
[8] EncodedStream(Object)>>doesNotUnderstand:
[9] BasicFile>>lengthOfFile
[10] optimized [] in UndefinedObject>>unboundMethod
[11] AssignFrame>>animate:
[12] optimized [] in [] in Director>>direct:
[13] OrderedCollection>>do:
[14] optimized [] in Director>>direct:
[15] BlockClosure>>on:do:
[16] ProgramDirector(Director)>>direct:
[17] ProgramDirector>>direct:
[18] ProgramDirector(Director)>>for:direct:
[19] ProgramDirector>>for:direct:
[20] Program>>runWithDirector:
[21] optimized [] in Program>>runForked
[22] BlockClosure>>on:do:
[23] optimized [] in Process class>>forBlock:priority:
------------------------------------------------------------
Unhandled Exception:
class: UnhandledException
creator: UnhandledException
errorString: Unhandled exception: Message not understood: #readLimit
parameter: a MessageNotUnderstood
==2019/2/24==21:55:20==END RUNTIME DIAGNOSTIC DUMP