Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 331: Line 331:
for (i=0;i<vFirstDay-1;i++)
for (i=0;i<vFirstDay-1;i++)
{
{
 +
vDayCount=vDayCount+1;
if (vDayCount%7==6)
if (vDayCount%7==6)
vCalData += GenCell("","saturday");
vCalData += GenCell("","saturday");
Line 337: Line 338:
else
else
vCalData += GenCell("","weekday");
vCalData += GenCell("","weekday");
-
vDayCount=vDayCount+1;
 
}
}
for (j=1;j<=Cal.GetMonDays();j++)
for (j=1;j<=Cal.GetMonDays();j++)

Revision as of 10:45, 29 September 2013