![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
new line character
how do I add a newline character to the end of a string??
0
Comments
-
Probably "
", it might depend on the usage though.Russell Drown0 -
I tried using "
" but it gave me "unexpected unknown token" errors. What I really need is a newline character and a carriage return character which in most other languages that I've used would be represented as "
". Has anyone else ran into this problem? Does anyone have a solution or can this not be done using RAPID Strings??Thanx0 -
Try something like this:str1:="Line11310"+"Line21310"+"Line310";You can append control characters to string literals with "XX", where XX is the hex value of the control character.Note that this does not work with instructions like TPWrite, probably only works with write instructuions to files or ports.RussD2009-05-29 19:51:34Russell Drown0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings