Need help for this one..
I encountered this script while working with InTouch..Anyone who can help me translate this one?
{Load the steps for this EM}
Code: Select all
FOR i = 0 TO 14
m = INIReadString(InfoInTouchAppDir() + "\Data\Step\EM STEPS.ini", StringRight(EMXXXX.Name, 4), StringFromIntg(i, 10));
EMX_STR.Name = "EMX_STR" + StringFromIntg(i, 10);
IF m <> "" THEN
IF StringLen(StringFromIntg(i, 10)) > 1 THEN
EMX_STR = StringFromIntg(i, 10) + " : " + m;
ELSE
EMX_STR = StringFromIntg(i, 10) + " : " + m;
ENDIF;
ELSE
IF EMX_MAX_STRAT == 0 THEN
EMX_MAX_STRAT = i - 1;
ENDIF;
EMX_STR = "";
ENDIF;
NEXT;
I am wondering how this script uses the values at .ini file for the display in every faceplate used in this InTouch design.
How this random values showed depending on the screen being accessed.
Hope someone could help me to accomplish this project.http://www.plctalk.net/qanda/attachment ... 1318493673 and http://www.plctalk.net/qanda/attachment ... 1318493673