How to write an apostrophe using msgNotify ?

  • The title says it all. How do i write an apostrophe in KRL, I'm using MsgNotify to write the message "Tool can't open." but whenever i write > ' < workvisual takes it as the start of a new CHAR.

    The easy solution is to write a better message that dosen't use "can't" but it got me curious.



    Here is an example:


    DEF ROBOT_STOP()


    oROB_EMNE_FEJL=TRUE

    msgnotify("Tool can't open")

    BRAKE f

    Halt

    oROB_EMNE_FEJL=FALSE


    END

  • that is compiler complaining. message will happily display string containing it:


    it is used to indicate presence of not printable characters as a hexadecimal value.

    not sure yet how to enter it more conveniently. in emergencies try backtick, looks close enough.


    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

Advertising from our partners