Closed frankcollins3 closed 1 year ago
human error. 👎 ValidateRange (was using the function name as the local bool) 👍 validRange is the local boolean to set to true or false could delete issue but keeping as documentation of thought process [11:57am]
attempting to do: bool function that evaluates range and returns 1 for truthiness
error:
proposed approach: // kind of lost since it seems: bool func() -> return bool value -> if statement checking for bool value 0: if (validateRange()) ---------> if (validateRange() == true)
// also take out else block { } ?
possible improvements: