Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

problem in text list display

cedric89
2021-01-18
2021-01-19
  • cedric89 - 2021-01-18

    HI
    when i try to display from a string list i have a problem when my string is empty, is there a trick to get rid of that

     
  • cedric89 - 2021-01-19

    when in my srting list my string is empty, the test field display %s instead of nothing
    when id =0 text to display =
    when id = 1 text to display = some text

     
  • dkugler - 2021-01-19

    Maybe insert a blank if empty? Then the variable has something to display, but no visible character will be there..

     
  • cedric89 - 2021-01-19

    fixed i do not need the %s in text

     

Log in to post a comment.