squeak
SqueakSource add a resource file
I\'m new to squeak/squeak source and i am writing a small game as a learning exercise.I have a few graphics that i am using for some of my sprites (mostly pngs) but i cannot figure out how to add them[详细]
2023-01-09 05:41 分类:问答In Squeak, where do I find the code for the message handling algorithm?
When sending a message to an object开发者_如何学C in Squeak, the runtime invocation algorithm is something like[详细]
2023-01-08 16:06 分类:问答With Traits, should I use a T prefix and if yes put it before or after any other prefix?
When creating Traits in Pharo+Squeak, is it proper to use a T prefix like TMyT开发者_JAVA技巧rait and if yes, should the T go before any other prefix like TMPMyTrait (where \"MP\" is the other prefix)[详细]
2023-01-06 03:06 分类:问答How to get the bytes that makeup an integer?
In Smalltalk (or at least Squeak and Pharo), is there a portable way to get the bytes that make up 开发者_C百科an integer, starting with the most significant byte followed by the next-most, and so on,[详细]
2023-01-05 06:14 分类:问答Using Squeak from a shell
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[详细]
2023-01-03 17:51 分类:问答How can I get all the methods in a Protocol?
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[详细]
2023-01-02 08:51 分类:问答Is Pharo just a repackaging/rebranding of Squeak?
I\'m trying to learn some Smalltalk. First found was Squeak, but since it has been removed from Gentoo ebuild tree because of security problem, so I decided to find an alternative.[详细]
2023-01-01 11:36 分类:问答Create New Pseudo Variables in Squeak
Large part of squeak is implemented using squeak itself. I am curious to know if pseudo variables such as self or true are also implemented using squeak. If the answer is yes, whe开发者_如何学Cre the[详细]
2022-12-31 00:08 分类:问答How do I get the value of a class variable in squeak?
I have a string that contains the name of a class variable that I know exists for class A. I need to get the value of this varia开发者_StackOverflow社区ble (i.e. dereferencing), how do I do it?(A bind[详细]
2022-12-29 18:23 分类:问答How do I get the name of the current method in squeak?
开发者_如何转开发As stated above - I need to find the current method\'s name in runtime. how do I do this?thisContext method selector[详细]
2022-12-29 03:58 分类:问答