Skip to main content
1 vote
3 answers
507 views

Simple question, I know command line isn’t very smalltalkish but let’s say I’ve the following code : FileStream stdout nextPutAll: 'Hello world' ; lf. Smalltalk quitPrimitive. If I don’t use an ...
user2284570's user avatar
  • 3,120
1 vote
1 answer
55 views

An older Pharo package I've installed utilizes GTInspector which seems to have been part of the default installations prior to Pharo 10. In Pharo 10 attempting to install GTInspector installs most of ...
vfclists's user avatar
  • 20.5k
1 vote
1 answer
62 views

An earlier process in Pharo which resulted in the appearance of a debugger window seems to be still running in the background and comes up again every time the image is started. It seems to be have ...
vfclists's user avatar
  • 20.5k
1 vote
1 answer
64 views

I'm struggling with a small parser using PetitParser2. Here is a fragment of some of the rules I'm defining but their behaviour is not as I could expect: andKeyword := 'and' asPParser trim, #letter ...
rluque's user avatar
  • 11
1 vote
2 answers
82 views

I would like to use Pharo GUI to replace a symbol #test within one method. How do you do that? I could not find a tool to use that for. For example: overview send: #test sendSecond: #test I would ...
tukan's user avatar
  • 17.5k
1 vote
1 answer
149 views

I know there has been an old question How can a PetitParser parse rule signal an error?. Lukas Renggli has written it is: in general this is not good style (mixes syntactic and semantic analysis) ...
tukan's user avatar
  • 17.5k
1 vote
1 answer
81 views

After an attempt to install Roassal a persistent menu item has been to the top level of the image's menu. The menu label is Load full version and after searching the image it is coming from a ...
vfclists's user avatar
  • 20.5k
2 votes
2 answers
119 views

I want a particular image to be run with specific settings at start tiime as noted here StartupPreferencesLoader default executeAtomicItems: { (StartupAction name: 'Start Literate Server' ...
vfclists's user avatar
  • 20.5k
2 votes
1 answer
86 views

When I started a Pharo image I got a warning about a .sources file being missing because I had renamed the .image, .sources and .changes file to one of my preferences. It showed up for a while then ...
vfclists's user avatar
  • 20.5k
2 votes
4 answers
105 views

Executing this code in Pharo results in a Cannot store into -> error message? [ :x | x := x + 33. x + 2] value: 5 Is this a logical consequence of Smalltalk's syntax, or is it a consequence of ...
vfclists's user avatar
  • 20.5k
1 vote
1 answer
120 views

In lesson 17 of ProfStef I am stuck on the command which says. "Try to go to the next lesson with a cascade of two 'next' messages:" What is the correct answer for these?
vfclists's user avatar
  • 20.5k
0 votes
1 answer
167 views

I am working on a class named Boggle which contains two class-side methods below: search: board for: words | result visited trie | result := Dictionary new. trie := CTTrie new. words do: [:...
Aliplayer1's user avatar
1 vote
0 answers
57 views

On an already created class MyClass that subclasses Object, it is possible to execute MyClass subclass: SomeNewClass to change it's superclass. It is possible to make something similar to traits so ...
VitorCruz's user avatar
  • 437
0 votes
1 answer
149 views

I'm building something in Smalltalk pharo and I need to open files in the underlying OS (Windows 10). Specifically, I need to open certain types of files with the registered Windows app (.pdf, .wav, ...
Rui VP's user avatar
  • 13
1 vote
3 answers
351 views

First of all: I'm not a programmer, just an amateur with some lights about Squeak/Pharo. So Please be gentle with the technical explanations... I have a personal library with thousands of books, ...
Rui VP's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
62