I keep getting this error on line 356, 359 and 362. 'syntax error in if statement'. But there is no if statement.
346: void makeArrayFromString(int array, string s)
{
int l = len(s);
int size = l/4+2;
resizeArray(array,size);
setArrayVal(array,0,l);
int asc,v,shift,bitmask,imask,c;
for(c=0; c<l, c++)
{
// gets the int that the character should be in.
v = getArrayVal(array,c/4+1);
356: asc = ascii(s,c);
// there are 4 characters per int. This makes a bit mask of
// the ascii value shifted to the right position in the int
shift = c%4-3; shift = shift << 3; bitmask = asc << shift;
// why is there no bitwise inverter in verge? oh well, this works
359: imask = (255 << shift) ^ (65535 << 16 | 65535);
v = v & imask; // clears the bits we need to set to the new character.
v = v | bitmask; // Then sets them properly.
362: setArrayVal(array,c/4+1,v);
}
}
Has anyone seen anything like this before?
[Zip: Made code less wide for my small screen]