[eclipse-clp-users] exporting variables outside for

From: Bogdan Tanasa <g-bogta_at_...107...>
Date: Thu, 08 Apr 2010 12:31:10 +0200

I am trying to do something like this:
(for(I, 1, NN), param(NG, RHO, YMSP) do 
		length(Z, I), 
		append(Z, _, YMSP), 
		checkRho(Z, RHO, NG)),

for each I the NG will take different values and would like to keep the
last one but I receive the No answer.

I assume the problem is when I = 2 because NG already has a value and will
interact with the param. 

How can I solve the problem?

Best regards,
Received on Thu Apr 08 2010 - 11:08:26 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 25 2019 - 09:14:48 CEST