# Create a new line with the command Write

**URL:** <https://tech-community.robotics.abb.com/t/create-a-new-line-with-the-command-write/7879>\
**Category:** RAPID Programming\
**Created:** [September 1, 2017, 6:40am UTC](https://tech-community.robotics.abb.com/t/create-a-new-line-with-the-command-write/7879 "2017-09-01T06:40:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoemieCitius](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@NoemieCitius](https://tech-community.robotics.abb.com/u/NoemieCitius)\
**Post date:** [September 1, 2017, 6:40am UTC](https://tech-community.robotics.abb.com/t/create-a-new-line-with-the-command-write/7879/1 "2017-09-01T06:40:08Z")

</div>

Hello,

I am writing in a text file with a RAPID code using commands like Write printer, " " …  
I would like to write a new line between each data I write,. To do so, I have tried “\n” like in C++ but it doesn’t work.

What’s the new line character in the ABB RAPID language?

Thanks a lot for your help

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [September 1, 2017, 3:24pm UTC](https://tech-community.robotics.abb.com/t/create-a-new-line-with-the-command-write/7879/2 "2017-09-01T15:24:00Z")

</div>

If I am understanding you right, you want a blank line to separate the lines of code. Write ComDevice " ";

---

<div class="post-metadata">

**Author:** ![NoemieCitius](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@NoemieCitius](https://tech-community.robotics.abb.com/u/NoemieCitius)\
**Post date:** [September 7, 2017, 4:27pm UTC](https://tech-community.robotics.abb.com/t/create-a-new-line-with-the-command-write/7879/3 "2017-09-07T16:27:19Z")

</div>

Yes, It is exactly that! Thanks a lot I will try this tomorrow
