or you could use this little function cool

Code:

#include <acknex.h>

STRING* str1="This is a Test";

char GetChar(STRING* str, int chr)
{
	return((str.chars)[chr]);
}


void main()
{
	wait(1);
	char c;
	
	c = GetChar(str1,0);
	if (c == 'T') {	
		error("passed");
	} else {
		error("fail");
	}
}



Our new web site:Westmarch Studios