4/3/2009 5:39 PM | |
Joined: 9/27/2007 Last visit: 12/18/2020 Posts: 993 Rating:
|
Hi you can use the function"sprintf" this function write a string like printf but not on the dispay. it writes the string in a string. int sprintf(const char *target_string, const char *format, ...); p.E. char string1[255]; int num= 9; charwhat = "coffee"; sprintf(string1, "%s at%d o´clock\n",num,what); regards cumulus |
Learn more about visualization - visit the HMI courses of Siemens AG! |
|
4/15/2009 8:42 AM | |
Posts: 12 Rating:
|
Thanks... Solved the problem by using sprintf and GetTagChar for getting the text from the Text Reference tag. |
Follow us on