Oninit Logo
The Down System Specialists
+1-913-674-0360
+44-2081-337529
Partnerships Contact
Finderr

-4343 Subscripting cannot be applied to the expression because it

is not a character or array reference.

You can write subscript expressions (integer-valued expressions separated by commas and enclosed in square brackets) following an expression that evaluates to an array. You can specify a substring (two integer expressions in square brackets) following a character expression. However, in this statement, expressions in square brackets follow something that is neither character nor an array. Review the punctuation of the statement and the declaration of the variables in it. Error -4343 with this text is produced by 4GL through Version 4.1.

-4343 Subscripting cannot be applied to the variable variable-name because it is not a character or array variable.

You can write a subscript expression (one, two, or three numbers in square brackets) following the name of an array variable. You can write a substring expression (two numbers in square brackets) following the name of a variable of data type CHAR or VARCHAR. However, variable-name is none of those things. Either it is not the variable you intended, or it is not correctly defined. Error -4343 with this text is produced by 4GL through Version 4.1.