Maybe you didn't called the function feldhandle.


test it:

www.extremegames-online.de/showimages/test.c

this is the code:
Code:

STRING* Karten_name = "#17";

var textfeldnummer = 1;

void feldhandle()
{
	while(1)
	{
		if(textfeldnummer == 1)
		{
			inkey(Karten_name);
			if(result == 13)   // pressing enter
			{ 
			textfeldnummer = 0;
			} 
		}
		wait(1);
	}
}

TEXT* namensfeld =
{
	pos_x=21;
	pos_y=350;
	layer=20;
	font = _a4font;
	string(Karten_name);
	flags=VISIBLE;
}


void main()
{
	level_load("");
	feldhandle();
}