Cheers guys - edited it to while(!name())
and it worked a treat!
Last edited on
You are not actually calling the function; put () on the end to call it and see if the error persists.
Hey there, thanks so much for the reply - just to confirm, where exactly should I try placing the '()'
Cheers
(while !erchk())
Even with no parameters the function still needs an open and close bracket to invoke it.
when inserting (while !erchk())
I get an error on the first bracket "Error: Expected 'while'." any ideas?
Thanks again
I think martianxx meant while(!erchk())
.
yeah sorry about that typo