Usually with my output I am writing it 开发者_如何学Cto the Transcript with... Transcript show: How does one write the output to a file instead?You want to use a FileStream
How do I copy a stacktrace out of the debugger in Pharo? I know there\'s the Debug.log file somewhere near the image, but I\'m far too lazy to navigate out of Pharo, to the file system, find the fold
How can I mark a unit test in SUnit (or phexample) as expec开发者_Python百科ted failures?Overwrite expectedFailures in your test. There\'s an example in WeakSetTest:
I need to build an interpreter in smalltalk language. It will interpret a simple language with few fixed instruction set, there are only 2 data types in it and 开发者_开发百科it evaluates the expressi
Is there a way to si开发者_运维百科mulate Smalltalk\'s doesNotUnderstand or Ruby\'s method_missing in Javascript?There is no catch-all method defined in the JavaScript standard, but Mozilla implements
There are two main开发者_StackOverflow社区 reasons for calling \"self class\": Either for doing user-space things such as invoking static methods, creating new objects or obtaining constants. Or for r
I\'d like to add stuff to run at the beginning of a pharo image start-up. Nothing fancy just a call to a class method that is an entry point to my application.
i want to convert the input value in \"Prompter prompt: aStringPrompt\" into a integer value, how can i do 开发者_StackOverflow中文版that?Two steps: (a) validate the input, and (b) convert.
how can I make an HTTP request and get both the respons开发者_运维技巧e content and the response headers?Or using the new Zinc framework, something like:
With the renewed interest in functional programming languages, I\'ve seen some similitudes between Smallt开发者_Python百科alk and FPL, namely closures ( BlockClosures in Smalltalk )Yet, Smalltalk is n