# Syntax error in header

**URL:** <https://tech-community.robotics.abb.com/t/syntax-error-in-header/1173>\
**Category:** RobotStudio\
**Created:** [April 27, 2007, 10:25am UTC](https://tech-community.robotics.abb.com/t/syntax-error-in-header/1173 "2007-04-27T10:25:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Klaus](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Klaus](https://tech-community.robotics.abb.com/u/Klaus)\
**Post date:** [April 27, 2007, 10:25am UTC](https://tech-community.robotics.abb.com/t/syntax-error-in-header/1173/1 "2007-04-27T10:25:55Z")

</div>

RS 5.08 sometime export the modul with wrong syntax.

I can simulate the program on VC flexpendant but get error when load the program in the real controller. The error is in line 4 where %%% is.

If i open the module in notepad it is on line. It seams that the CR is missing. In RS programming the lines with %%% is there a red line under but the program works offline. Please help NOW.

---

<div class="post-metadata">

**Author:** ![DaBot](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/dabot/32/3217_2.png) [@DaBot](https://tech-community.robotics.abb.com/u/DaBot)\
**Post date:** [April 27, 2007, 2:53pm UTC](https://tech-community.robotics.abb.com/t/syntax-error-in-header/1173/2 "2007-04-27T14:53:17Z")

</div>

I believe this has to do with the issue noted in Topic: RS 5.08. When exporting a module it should be opened for editing and saved by RSOnline before being put on the machine. The RS editor does not save in the proper format. A test would be to open in notepad, then turn word wrap off then back on. If the text doesn’t realign properly then it is the issue with the RS editor.
