• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

[SOLVED] Writing the text to file that includes a 'tab' key

J

Jus

Guest
Hi all,

I have seemingly a simple question but I searched around and couldn't find the answer. I'm trying to write text to text files and I want to include a "tab" to separate the text. If it was in c++ it'd be like:

string = "HP\tSP\tAttack\tdefense";

then write the string to file.

How do I do it in GM? I know there are keyboard constants for all keyboard keys, like vk_tab for tab, but how do I use it in my case? Thanks in advance.
 
Top