discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StepTalk Segfaults


From: Stefan Urbanek
Subject: Re: StepTalk Segfaults
Date: Sat, 19 Feb 2005 14:13:51 +0100

On Fri, 2005-02-18 at 23:13 -0600, Matthew Swank wrote:
> Can anyone tell me why:
>     StepTalk > [:x :y|[:z | x + y + z] valueWith:3] valueWith:5 with:7.
>     (0) 15
> works ok while:
>     StepTalk > a := [:x :y|[:z | x + y + z] valueWith:3].
>     (1) <STBlock: 81bf428>
>     StepTalk >  a valueWith:5 with:7.
>     Segmentation fault
> does not?
> 

It works in a script. Try test.st with following lines:

  a := [:x :y|[:z | x + y + z] valueWith:3].
  Transcript showLine:(a valueWith:5 with:7).

I do not know, why it does not work in the shell, perhaps the block was
no more valid... It needs deeper investigation.

Stefan Urbanek
-- 
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then
you win.
- Mahatma Gandhi






reply via email to

[Prev in Thread] Current Thread [Next in Thread]