08-17-2019, 10:16 PM
if (command == "Power")
{
for (int ctr = 0; ctr < 5; ctr++)
{
tagpoint = input.IndexOf("/", (tagpoint - 1) + (ctr * 3));
if (tagpoint != -1)
{
tags[ctr] += input[tagpoint];
tags[ctr] += input[tagpoint + 1];
}
}
Console.WriteLine("Tag 0 is '{0}'. Tag 1 is '{1}'. Tag 2 is '{2}'. Tag 3 is '{3}'. Tag 4 is '{4}'.",
tags[0], tags[1], tags[2], tags[3], tags[4]);
}
If I cut out the two red lines, it works. Something about these two is tripping up IL2CPU. I am going to hold this project in archive and make a functional version under a for-real project name.
{
for (int ctr = 0; ctr < 5; ctr++)
{
tagpoint = input.IndexOf("/", (tagpoint - 1) + (ctr * 3));
if (tagpoint != -1)
{
tags[ctr] += input[tagpoint];
tags[ctr] += input[tagpoint + 1];
}
}
Console.WriteLine("Tag 0 is '{0}'. Tag 1 is '{1}'. Tag 2 is '{2}'. Tag 3 is '{3}'. Tag 4 is '{4}'.",
tags[0], tags[1], tags[2], tags[3], tags[4]);
}
If I cut out the two red lines, it works. Something about these two is tripping up IL2CPU. I am going to hold this project in archive and make a functional version under a for-real project name.