Error: subscripted value is neither array nor pointer

One of the reasons this error will be shown is if a call to a function used brackets [] rather than (). Calls to functions to contain parameters use the parentheses, not brackets. For example, function(value), not function[value].



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.