OK... I'm stuck.
I am using TEXT in order to see if the code worked, but I am getting problems.
I use this code:

Code:
STRING* WordText = "WWW";
STRING* fileString;

TEXT* Word =
{
  layer = 15;
  pos_x = 100;
  pos_y = 100;
  size_y = 40;
  string (WordText);
  flags = SHADOW | OUTLINE | TRANSLUCENT | VISIBLE;
  alpha = 100;
} 

myFile = file_open_write("dialog.txt");

var i = 0;
while (i < 3)
{
	i += 1;
	WordText = file_str_read(myFile,fileString);
	if (i == 3) {file_close(myFile); break;}
	wait(1);
}
Word.string[1] = WordText; //This returns an error: string is not a member of text.
str_cpy((Word.pstring)[1], WordText); //This one doesn't seem to do anything.



How can I get my text to show the line read in the file?