5/24/2014 9:05 AM | |
Posts: 4 Rating:
|
helloMorocco you can find answer of your question here .although i guess you found it . maybe be helpful for other person . int b,i; char* a; a = GetTagChar("@CurrentUserName"); //Return-Type: char* for(i=0;i<strlen(a);i++) { if(a[i]<95) a[i]=a[i]+32; } if (strcmp (a ,"user_name")==0) return (value(1)); else return (value(2)); |
5/26/2014 11:10 AM | |
Joined: 10/3/2010 Last visit: 7/31/2024 Posts: 1560 Rating:
|
little confusing thread as strcmp() should already act as case sensitive. |
B r g d s , |
|
5/27/2014 7:08 AM | |
Joined: 10/3/2010 Last visit: 7/31/2024 Posts: 1560 Rating:
|
multisite, I know all of that. Anyway, I thought if you have the necessary c libraries, you could try to include those into c-scripts, just like for example #include <stdio.h> #include <ctype.h>... |
B r g d s , |
|
5/27/2014 9:40 PM | |
Joined: 10/3/2010 Last visit: 7/31/2024 Posts: 1560 Rating:
|
Is there a way to do this in WinCC(include these into c-script)? Hey multisite, to be honest, I'm not using c-scripts a lot lately, please check this bookmarked faq for some information: How can you incorporate your own header files in C scripts? |
Last edited by: SteBo at: 5/27/2014 9:41 PMfixing typing errors B r g d s , |
|
This contribution was helpful to
1 thankful Users |
5/29/2014 6:51 AM | |
Posts: 4 Rating:
|
Hey multisite, to be honest, I'm not using c-scripts a lot lately, please check this bookmarked faq for some information: How can you incorporate your own header files in C scripts? SteBo. i couldn't include new library . please explain more . Thank you for your attention in advance .
|
Follow us on