Is there a way to create a global variable string array?
I would like to use this code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
String InputStr="first,second,third";
String StringFound;
Int iCountOfCommas;
iCountOfCommas=InputStr.countOccurrences(",");
for (Int i=0;i<=iCountOfCommas;i++)
{
StringFound=InputStr.Part[i,","];
OutputStr=StringFound;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++However I get an error on the line "OutputStr" since a global variable array can only be of type "Constant"
Thanks in advance.
Kind regards
Jim
I would like to use this code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
String InputStr="first,second,third";
String StringFound;
Int iCountOfCommas;
iCountOfCommas=InputStr.countOccurrences(",");
for (Int i=0;i<=iCountOfCommas;i++)
{
StringFound=InputStr.Part[i,","];
OutputStr=StringFound;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++However I get an error on the line "OutputStr" since a global variable array can only be of type "Constant"
Thanks in advance.
Kind regards
Jim