Kish, the problem was that I have a domain for the variables inside the struct, but i tried to label the struct which was not allowed. So I simply put those variables into a list and labeled this list.. I had some problems though.. but they were all solved.. Thanks for helping =) On Wed, Mar 17, 2010 at 7:22 PM, Kish Shen <kisshen_at_cisco.com> wrote: > Maged Zamzam wrote: > >> I have a struct called journal{type, priority, columns, lines, posX, posY} >> and I would like to labeling the variables posX and posY only in the >> struct. >> The problem is that if i try to label Items (List which contains the >> journal >> types) ECLiPSe gives me a type error indomain. >> >> You haven't really given much information on the code you used to get the > error. How did you try to label only the variables in posX and posY? > > The error you got seem to suggest you are trying to label a variable that > is not an integer domain variable (which is why the error is for indomain). > You need to give the variables (those in position posX and posY in your > items) an integer domain before they can be labelled. > > Cheers, > > Kish > > -- > This e-mail may contain confidential and privileged material for the > sole use of the intended recipient. Any review, use, distribution or > disclosure by others is strictly prohibited. If you are not the intended > recipient (or authorized to receive for the recipient), please contact > the sender by reply e-mail and delete all copies of this message. > Cisco Systems Limited (Company Number: 02558939), is registered in > England and Wales with its registered office at 1 Callaghan Square, > Cardiff, South Glamorgan CF10 5BT. > -- ----------- Maged Zamzam Computer Science and Engineering German University in Cairo Egypt. Follow me on Twitter: @mandofagasta Facebook: facebook.com/mandofagastaReceived on Wed Mar 17 2010 - 17:39:52 CET
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET