3 ms·
> The moment you pass that value out of the context of the function, you need to remember that null means EndOfString Good point, and I don't disagree, but it'
by rogual 7y ago
> The moment you pass that value out of the context of the function, you need to remember that null means EndOfString
Good point, and I don't disagree, but it's also interesting to note that once you return 4 from CountChildren(), you similarly have to remember that it represents the number of children.
- _hardwaregeek 7y agoExcept you can always assign the result of CountChildren to a `childrenCount` variable. Is there a variable name you could give to the result of `parse` that'd accurately describe the error states?