1/7/2009 11:23 AM | |
Joined: 9/27/2007 Last visit: 12/18/2020 Posts: 993 Rating:
|
Hello Rem2 When you want to create the text of the tag by or own, do this in that way. + create all parts of the text seperate: - sometext as string - prefix as string - number as integer + convert the number to string + add all parts to one text with function "strncat()" When you has a text-tag, do this way. + search the positionof one string in the text with "strchr()" to partion the text + change the number + add all parts to one text with function "strncat()" Becareful Working with string can cause memory overflows. You should read something about this funtions, before you use this function. regards cumulus |
Learn more about visualization - visit the HMI courses of Siemens AG! |
|
This contribution was helpful to
2 thankful Users |
1/9/2009 7:31 AM | |
Posts: 52 Rating:
|
Dear cumulus and Palmerita, Thank you very much for your help! Best regards |
Follow us on