Hi,

I've modified the script slightly to this:

{FD.sum
  for X in Scenes collect:Collect do
     for Y in Scenes do
        if X\=Y andthen {IsPreced X Y} then %X is a precedent of Y
           {Collect (Position.X=<:Position.Y)}
        end
     end
   end '=:' NumPrec}

I realised the mistake I was making with X and Y instead of Position.X and Position.Y and mistyping 'and' instead of 'andthen'

Regards

Mark

--
Mark Richardson MBCS
Research Assistant
University of Teesside, UK
Email: [email protected]
      [email protected]
Skype: mark.richardson.

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to