Re: [eclipse-clp-users] in place modification

From: Wit Jakuczun <wit.jakuczun_at_...6...>
Date: Fri, 09 Apr 2010 14:38:16 +0200
W dniu 2010-04-09 10:12, Bogdan Tanasa pisze:
> Hi,
>
> Does Eclipse permit in place modification of variables, elements of a list
> and of an array?
>
> If it is possible to do that how can I do it and what are the
> consequences?
>    
Yes you can do this. Check setarg/3 predicate: 
http://87.230.22.228/doc/bips/kernel/termmanip/setarg-3.html

Consequences: "The use of this built-in is strongly discouraged, due to 
its non-logical behaviour! "

Best regards

-- 
[ Wit Jakuczun http://pl.linkedin.com/in/jakuczunwit ]
Received on Fri Apr 09 2010 - 12:38:26 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST