Code:
TEXT* animation_Text =
{
	pos_x = 100;
	pos_y = 100;
	string ((animations[0]).animName);
	flags = VISIBLE;
}


you have to use the brackets around animatiion and "]"

If this does not work (is there an error message?) how do you fill the strings?