Any ideas as to why this would happen?
Current code: (Dont say anything about using case instead, I already know lol)
- Code: Select all
setpen(189, 0, 0, .99, 1);
if (Pattern == 0)
{
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
if (Pattern == 1)
{
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
}
if (Pattern == 2)
{
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
Previous Code:
- Code: Select all
if (Pattern == 0)
{
setpen(189, 0, 0, .99, 1);
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
if (Pattern == 1)
{
setpen(189, 0, 0, .99, 1);
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
}
if (Pattern == 2)
{
setpen(189, 0, 0, .99, 1);
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
setpen(189, 0, 0, .99, 1);
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
The reason it is .99 is because I was testing it out, I even tried making it 189, 0, 0 but its still Black T.T