I have been reading in from a file and it has for example array[20] and I want to print this directly to the screen but when I do the [ char automatically formats for a new line and I was wondering if there is a way to make it were the formating doesn't act on [ this char.
If you need to write it in a GUI label then use this:
label.Text=String.Format("Your text %d more text",array[x]);
If you want any character to say it, then:
cCharacter.Say("Your text %d more text",array[x]);
EDIT:Sorry I missunderstood, don't use that.
I tried using that but it still display's on a new line. I may have not explained it properly. What I am tryig to do for example is Label11.Text = question.Append("array[20]"); And this in return would put the text in the gui label array[20] instead of array (this would be another line) 20]
Making it were the [ char doesn't form a new line instead prints out on the gui label as char [
Don't mean to sound like a moderator, but search the forums first.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36944.0 (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36944.0)
This topic deals with the same thing and is only a few days old.
~Trent