[eclipse-clp-users] Question regarding the redefined variable

From: Choughule, Yogesh <Yogesh.Choughule_at_...390...>
Date: Mon, 15 Dec 2014 01:52:41 +0000
Dear Users

My question is regarding the redefined variable.

Consider following code slice

A=3;
B=5;
--
--other constraints
--
A=B+3;   //A is redefined

While giving the above constraints to ECLiPSe to solve A and B,
error occurs because A is defined twice.

1) Should we rename A as A1 and use?
2) Is there any other way we can handle this situation?


Thanks and Regards

Yogesh C.

______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.
Received on Mon Dec 15 2014 - 01:52:54 CET

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST