let pathScore = GetCommonData("PATHSCORE","");

function IsKeyState(key,keystate)
{
	let val = false;
	ascent(i0 in 0..length(key))
		{
		ascent(i1 in 0..length(keystate))
			{
			if(GetVirtualKeyState(key[i0]) == keystate[i1])
				{
				val = true;
				break;
				}	
			}
		}
	return val;
}