What are you trying to accomplish with the statement d == fullM"/year"
? I think you might be trying to do something like this:
d = thisComp.layer("asdf").text.sourceText;
year = "2013";
fullM = ["27/3","25/4","25/5","23/6","22/7","21/8","19/9","19/10","17/11","17/12"];
for(var i = 0; i < fullM.length; i++) {
if(d == fullM[i] +"/"+ year) {
100;
break;
} else {
0;
break;
}
}
...assuming that the sourceText
of that layer is a string that will be equivalent. My code uses a for loop to traverse the fullM array. You should read up on JavaScript for loops.