On 10/5/05, Russ Abbott <[EMAIL PROTECTED]> wrote:
The follows works fine.local
proc {Money Answer}
S E N D M O R Y
Vars = [S E N D M O R Y]
in
Answer = [S E N D]#[M O R E]#[M O N E Y]
Vars ::: 0#9
{ FD.distinct Vars}
S \=: 0
M \=: 0
1000*S + 100*E + 10*N + D
+ 1000*M + 100*O + 10*R + E
=: 10000*M + 1000*O + 100*N + 10*E + Y
{FD.distribute ff Vars}
end
in
{Browse {SearchAll Money}}
end
But the same thing withAnswer = [S E N D]#[M O R E]#[M O N E Y]moved above 'in' no longer works?Why is that?Thanks.-- Russ
--
_____________________________________________
Professor, Computer Science
California State University, Los Angeles
o Check out my blog at http://russabbott.blogspot.com/
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
