I have a List in my smalltalk application that gets updated by user events.The list updates correctly, but it on开发者_如何学编程ly redraws, repaints, or refreshes whenever the window is forced to red
a > b ifTrue:[ \'greater\' ] ifFalse:[ \'less or equal\' ] My understanding is that Boolean a > b receives the messageifTrue:[ \'greater\' ], and then ifFalse:[ \'less or equal\' ] complying to t
A开发者_Go百科re factory methods used in Smalltalk, and if so, how should one go about writing one, as opposed to how they would in Java, for example?
What is the Smalltalk equivalent of Java\'s static field开发者_开发百科s and methods? IOW, what do the Smalltalkers do when they need class level data and/or methods?We use class-side methods/instance
I have a list of point and have to do erosion/dilation operations. I need a kind of开发者_StackOverflow社区 2d-array but can\'t find how to do in VisualWorks (I know there is a Array2d class in Squeak
Can I launch Squeak as a REPL (no GUI), where I can enter and evaluate Smalltalk expressions? I kn开发者_JS百科ow the default image don\'t allow this. Is there any documentation on how to build a mini
I want to encode passwords for UNIX accounts using the crypt function. I\'m using pharo 1.0. I tried to install the crypto package from squeakmap, but it gaves me an error and the package seem to get
In Smalltalk, if given the string \'OneTwoThree\', I\'d like to remove the last \'Three\' part, .e., In Squeak method finder notation: \'OneTwoThree\' . \'Three\' . \'OneTwo\'.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
How can I get a collection of all the (class) methods in a given protocol in smalltalk/squeak/pharo? I\'开发者_开发知识库m trying to collect the values returned by a group of methods. I don\'t want t