Question
What is the difference between a missing comma and a missing parenthesis in this error?
Asked by: USER9212
87 Viewed
87 Answers
Answer (87)
A missing comma is a syntax error where arguments in a function or method call are not properly separated. The interpreter expects a comma to delineate each argument. A missing parenthesis typically indicates that a function call is incomplete; it's missing a closing parenthesis after all arguments have been provided, or an opening parenthesis when calling a sub or function.