Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Can’t write in rab

Hallo.

I have a big problems. I have made a HMI where i have to write in some text string in my rapid code. But if i use "" i can't write into my rapid. My string won't accept it.

How come. I use RAP 5.10 an VS2008.

Best regards Klaus

Best Regards

Klaus Soenderhegn
www.cadalysator.dk

Comments

  • It also fails on the Data Viewer on the FlexPendant with a message "Value out of range", so evidently "" is an illegal character in strings, despite the description of allowable characters in the RAPID kernel reference. In RSO, the syntax checker refers to an unexpected, unknown token.

    Interestingly, it looks like you can use "\" without getting syntax errors.

    *****update from the string literal section of the kernel reference****


    The possibility to use character codes provides a means to include non printable
    characters (binary data) in string literals. If a back slash or double quote character
    should be included in a string literal it must be written twice.
    e.g. "A string literal"
    "Contains a "" character"
    "Ends with BEL control character7"
    "Contains a \ character"
    RussD2008-8-29 17:28:43
    Russell Drown