![image](https://community.gamedev.tv/uploads/db2322/original/3X/a/6/a6f9086292f8b22e52d1882e3e8d8aaf52c8600b.png)
![2021-06-29 17_14_00-Greenshot](https://community.gamedev.tv/uploads/db2322/original/3X/b/8/b88327976b9ad1054a9fab2acc91a30e46b007ed.png)
Your IsIsogram function isn’t correct.
With the word being “plane” your loop does
l == l // 1, 1
// return false
The first part of the for
loop syntax is for initialising a variable within the scope of the for loop. It is only done at the beginning of the loop.
fo (int32 Index = 0, Comparison = Index + 1; ...)
Will just be initialising two variables to 0 and 1.
for (Index++; ...)
Would then increment the Index variable by one at the start of the inner loop so you’re just checking
Word[1] == Word[1]
Thanks you So much. Working well now. Cheers
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.