[self-interest] creating local variables [resolved]
notebook
notebook22312 at gmail.com
Wed Sep 19 04:20:30 UTC 2018
Perfect! Thank you!
On 2018年09月19日 08:39, David Ungar ungar at mac.com [self-interest] wrote:
>
> [| :arg1. tmpVar |
> tmpVar: 5.
> arg1 + tmpVar.
> ] value: 1.
>
>
> Should work IIRC.
>
>> On Sep 18, 2018, at 3:54 PM, notebook notebook22312 at gmail.com
>> <mailto:notebook22312 at gmail.com> [self-interest]
>> <self-interest at yahoogroups.com
>> <mailto:self-interest at yahoogroups.com>> wrote:
>>
>> Hello,
>>
>>
>> I'm trying to use local variables in a block, that are writable and
>> do not come from the parameter list.
>> So something like this:
>>
>> [| :arg1. |
>> tmpVar: 5.
>> arg1 + tmpVar.
>> ] value: 1.
>>
>> But I get told that "tmpVar: is not found"
>>
>>
>> Or does self not support such kind of local variables?
>>
>>
>> regards
>> Chris
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20180919/598bc875/attachment.html>
More information about the Self-interest
mailing list