[Newbies] Re:OS vs Language

2006-08-09 Thread florent trolat
My opinion is, the power of Smalltalk is same as an OS, but Smalltalk is as a programming language. The Smalltalk should be an OS. Newbies list, so all is possible ;-) ! I think the question for us is : what's the difference between a programming language and an OS? OS for me is

[Newbies] error trap

2006-08-09 Thread Davide Arrigo
hi guys, I want to implement an error trap in Squeak, something like on error goto: in other languages. When a method encounter an error during execution of a block of code (an error like: square root or logarithm of a negative numbers, division by zero and so on..) I want only a message,

RE: [Newbies] error trap

2006-08-09 Thread Ron Teitelbaum
Hi Davide, I just wrote up something like this for Sedar: http://lists.squeakfoundation.org/pipermail/beginners/2006-August/000701.htm l To answer your question directly the answer is yes and no. The easiest way to do what you want is to write your own handler for each line. Without doing

[Newbies] Re: error trap

2006-08-09 Thread Klaus D. Witzel
On Wed, 09 Aug 2006 19:59:41 +0200, Brian Murphy-Dye wrote: Ron, another crazy possibility comes to mind when reading your excellent description: making each line it's own block. {[10/0]. [2 raisedToInteger: 1/2]. [-5 raisedTo: 1.5] } do: [:each | [each value] on: Exception do: [:ex |

[Newbies] no available update servers

2006-08-09 Thread Thomas Keller
Greetings,Whenever I launch Squeak (v3.8#6665) it asks if I want to check for updates. When I click Yes however, I always get the message the no update servers are available. Is there a configuration object that I need to provide with server locations? Thanks-- Tom"Ecrasez l'Infame!" -- Voltaire

Re: [Newbies] no available update servers

2006-08-09 Thread Enrico Schwass
Hi Greetings, Whenever I launch Squeak (v3.8#6665) it asks if I want to check for updates. When I click Yes however, I always get the message the no update servers are available. Is there a configuration object that I need to provide with server locations? check WorldMenu-open-http proxy

[Newbies] Re: Re: error trap

2006-08-09 Thread Klaus D. Witzel
On Wed, 09 Aug 2006 21:11:40 +0200, Ron Teitelbaum wrote: Brian, Yes I agree it's a great suggestion, although a few changes: Literal blocks to not parse into collections automatically. Ron, please: a literal Array is a subclass of Collection and so the blocks in { [nil]. [true]. [false]