请问TurboC编辑状态 怎么加大括号的啊?
最佳答案
Example of operating a WinCC Table Controls using a standard function
{
char text[5];
long int columns
//get number of Columns
columns = GetNumberOfColumns("TableControl_01");
//convert long int to char
sprintf(text,"%d",columns);
//set text on Text Field 5
SetText(lpszPictureName,"Static Text 5",text);
}
TlgGetNumberOfColumns function parameters:
"Table Control_01" is the name of the WinCC table control.
1. Buffer the return value of the function TlgGetNumberOfColumns in columns.
2. Buffer the return value in String text.
3. Issue the return value in a static text field.
提问者对于答案的评价:
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc276701.html