visualworks Questions

3

I was just wondering if there is a way to work with multiple screens in Pharo or Squeak. I am just switching from VisualWorks to Pharo and am really missing this feature. I am used to having my wor...
Unhand asked 20/12, 2012 at 23:12

2

Solved

It seems Smalltalk implementations misses an algorithm which return all the indices of a substring in a String. The most similar ones returns only one index of an element, for example : firstIndexe...
Kylstra asked 4/7, 2018 at 17:43

2

Solved

In Smalltalk, there are two terms often found within a method body: self and yourself. What is the difference between them?
Frazil asked 22/11, 2015 at 0:9

5

In Smalltalk (and specifically Pharo/Squeak) I want to know if it is OK to leave out the "[" and "]" for the argument to messages like at:ifAbsent: if you don't need a block, like this; ^ bookTitl...
Optics asked 1/2, 2014 at 10:38

1

Solved

I have used pragmas in Pharo Smalltalk and have an idea about how they work and have seen examples for what they are used in Pharo. My questions are: what are pragmas conceptually, to what const...
Sgraffito asked 13/11, 2013 at 17:18

5

Solved

Background In Smalltalk, if you don't excplicitly return anything then the message passing evaluates to the receiver (or "self" in the message context). For example, given this method: MyClass &...
Faveolate asked 27/12, 2012 at 0:15

5

Solved

Background Something that catches every Smalltalk newbie is that add: does not return "self" but the object being added. For example, with this code: myCollection := OrderedCollection new add:...
Benzofuran asked 27/12, 2012 at 0:24

2

Currently, I am working with a Smalltalk based application server, using Visual Works. I am looking for a way to generate a UML Class Diagram from the code. I have looked up for many tools but noth...
Hirudin asked 19/11, 2012 at 9:36

5

Is there any Smalltalk parser in Squeak/Pharo which allows me to browse VisualWorks code in Squeak/Pharo ? I'm interested in reading code exported in the chunk format (not in XML). Clarification: ...
Centesimo asked 27/4, 2011 at 10:52

2

Solved

I'm looking for additional examples of using PetitParser beyond PPArithmeticParser and PPLambdaParser that are provided in the tests package and a couple of blog posts by Lukas? If anyone's w...
Casie asked 18/4, 2011 at 13:3

2

Solved

In Smalltalk, the system browser is the central tool for pretty much anything. Glamour seems to be a package for building general purpose browsers using a declarative scripting language. From the p...
Rockey asked 30/8, 2012 at 17:43

4

Solved

I am attempting to read and process the contents of a csv file in smalltalk(visualworks), but I seem to be having some hard time getting the string to split into an array please. Below is code I ha...
Martita asked 12/3, 2012 at 14:3

3

Solved

I'm stumped. Here is my testcase. theTestArray := #(1.2 3 5.1 7). self assert: theTestArray squareOfAllElements = #(1.44 9 26.01 49). The assert should not fail. On calculating the square of eac...
Revulsion asked 27/9, 2011 at 5:18

1

Is there any example, in any Smalltalk flavour, showing how to parse a RDF file? The only package I've seen is Rikaiko with a RDFXMLReader class, but there are no references and it seems very undoc...
Sedimentary asked 27/5, 2012 at 7:12

4

Solved

How can I sort a collection by two criteria in Cincom VisualWorks? Example: I have an OrderedCollection that contains persons, and want a new collection that sort the persons first by age, and th...
Nighttime asked 20/11, 2011 at 21:21

2

Solved

Given any Smalltalk flavor, how should I proceed to check if Unicode is supported? In case of not having support, how can I detect at which level is missing (VM, font, Converter, etc)?
Cookson asked 30/7, 2011 at 21:41

2

Solved

What would be good (cross Smalltalk, mantained, documented) web frameworks or packages (in terms of fewer things to learn/adapt) to use for implementing a static web site with really few forms? .i....
Kodok asked 30/7, 2011 at 1:7

6

Solved

I am trying to compare two strings in Smalltalk, but I seem to be doing something wrong. I keep getting this error: Unhandled Exception: Non-boolean receiver. Proceed for truth. stringOne := 'he...
Glenglencoe asked 29/10, 2009 at 2:28

2

Solved

For example, let's say I am adding a set of objects I created, called myClass (which contains a string) to myList and then I wish to use the list and pass it to a GUI list. Is there a way to popula...
Reprehend asked 23/3, 2011 at 21:33

5

Solved

How can I write a GIU in Squeak? I'm a Smalltalk newbie and I'm using Cincom's VisualWorks at the moment but I'd like to give Squeak a try. I see that Squeak has Morphic for graphics but for the li...
1

© 2022 - 2024 — McMap. All rights reserved.