Used on the left-hand side of an assignment to set the nth element to some value.
ENTRY ( element , list , character ) = expressionAn integer value that corresponds to the position of a character string in a list of values. If the value of element does not correspond to an entry in the list, the AVM raises the ERROR condition. If the value of element is the Unknown value (?), ENTRY returns the Unknown value (?). If element is less than or equal to 0, or is larger than the number of elements in list, ENTRY returns an error.A list of character strings separated with a character delimiter. The list can be a variable of type CHARACTER or LONGCHAR. If the value of list is the Unknown value (?), ENTRY returns the Unknown value (?).A constant, field name, variable name, or expression that results in a character string whose value you want to store in the nth element in a list. ABL does not pad or truncate expression.The ENTRY statement is double-byte enabled. It can insert an entry that contains double-byte characters into a specified list and the character delimiter can be a double-byte character.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |