Firstly I want to confirm if I’m correctly understanding how the parameters and arguments work.
When the code compiles and sees ‘Input’ passed through as an argument for the ProcessGuess() function, because it’s a string it then redefines it as ‘Guess’ within the scope of the ProcessGuess() function?
If that is the case, if you don’t redefine the FString ‘Guess’ at all, and leave it like this:
How would you refer to ‘Input’ in the function? Would you just type ‘Input’ instead?
Secondly, in the header file, ‘Input’ is included as a parameter for the ‘OnInput()’ function ,
so why doesn’t it work when it’s used as a parameter for ‘ProcessGuess()’?