edit2: still locks up EQ, meh.
Any uses of String.Count[] were locking me up, so I peeked into the source for it.
Code: Select all
case Count:
if (Index[0])
{
Dest.DWord=0;
PCHAR pLast=(PCHAR)VarPtr.Ptr;
/*
while(pLast=strchr(pLast,Index[0]))
Dest.DWord++;
*/
while(*pLast)
{
if (*pLast == Index[0]) Dest.DWord++;
pLast++;
}
Dest.Type=pIntType;
return true;
}
return false;
