(0)| 10/13/2022 10:49 AM | |
|
Joined: 8/3/2009 Last visit: 1/20/2026 Posts: 16653 Rating:
|
Hello RossT86 If I see it correctly you run that script with the datatype for the return value Char* (you can see in the First line with the function definition)-> so the function expects a Char* as return value datatype And here you do not return a Char* so the compiler warns you that here is a conversion needed. Here a few tipps for return values of type Char* https://support.industry.siemens.com/cs/de/en/view/7929092 Bye Murof |
|
If this Information really helps, you could use the Rate function |
|
| 10/13/2022 12:54 PM | |
|
Joined: 6/12/2017 Last visit: 10/23/2025 Posts: 6 Rating:
|
Murof, Thanks. I read what you sent but I still do not understand how to convert my 'value4' to a char. I am new to C Script. Do you have an example of how I could finish my script? |
Follow us on