Yes. That's essentially what I was getting at. Asking someone to code accurately on a whiteboard is nonsense.
When I interviewed at Google, they asked me if my whiteboard code would compile. I said, "give me a laptop and I'll tell you". I don't think they liked that answer. ;)