• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

 String literals [ISSUE]

This should output the same but it doesn't!
Code:
show_debug_message("Hi everyone\nHow are you");

show_debug_message(@'
Hi everyone!
How are you?
');

First one outputs correctly:
Code:
Hi everyone!
How are you?

Second one doesn't output correctly:
Code:
Hi everyone!

How are you?
It adds one extra new line break, for each line break! Is it normal?! :/
 

rwkay

YoYo Games Staff
YYG Staff
Are those extra lines just getting added in the IDE Output Form????

I suspect it is not handling the CRLF that the editor will add in properly.... please file a bug...

Russell
 
Are those extra lines just getting added in the IDE Output Form????

I suspect it is not handling the CRLF that the editor will add in properly.... please file a bug...

Russell
Yes just in the IDE Output Form

if I draw to the screen is okay! :)
 
Top