Dear people,
I just joined the forum today and this is my first posting here. In the documentation available I couldn't find the answer to my question. Maybe it is there, but I wasn't able to find it.
My problem consists of the following: I am trying to put some instructions on the screen presented to the participants in my EEG experiment. Those instructions contain more lines of text. When I try to put line breaks into the text, for example like this:
SCREEN(window,'DrawText', 'Thank you very much for taking part in our experiment. \n Please press the space bar to start',10,30, [80, 80, 80] );
Screen('Flip', window);
KbWait;
...I get the whole text in between the single quotes on the screen in one line, including the \n as text.
What am I to do to get those two lines of text in separate lines on the screen displayed to the participants, and moreover one or two additional empty lines in between the two lines of text, according to my code?
If it is not possible within the code that I already have, please feel free to propose any other solutions, if you have some.
Many thanks in advance for your help!
Greets,
Nena
I just joined the forum today and this is my first posting here. In the documentation available I couldn't find the answer to my question. Maybe it is there, but I wasn't able to find it.
My problem consists of the following: I am trying to put some instructions on the screen presented to the participants in my EEG experiment. Those instructions contain more lines of text. When I try to put line breaks into the text, for example like this:
SCREEN(window,'DrawText', 'Thank you very much for taking part in our experiment. \n Please press the space bar to start',10,30, [80, 80, 80] );
Screen('Flip', window);
KbWait;
...I get the whole text in between the single quotes on the screen in one line, including the \n as text.
What am I to do to get those two lines of text in separate lines on the screen displayed to the participants, and moreover one or two additional empty lines in between the two lines of text, according to my code?
If it is not possible within the code that I already have, please feel free to propose any other solutions, if you have some.
Many thanks in advance for your help!
Greets,
Nena