Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2014-04-09T02:07:05Z by appleme
appleme
appleme
2 Posts
ACCEPTED ANSWER

Pinned topic How to count in a desicion variable?

‏2014-04-08T07:51:40Z |

 Hi,all.

tuple  JUP
  {   int index;
    string p;
    string u;      
  } ; 
 
 {JUP} jup=...;

 
  dvar int+ jupz[jup] in 0..1;

I want to get the count from  jupz where  jup.p="T" and jupz[jup]==1 ,How to realize?I found there is no count function to do this.

Could you help me

Thanks.