Strings, arrays, array properties, and pointers to strings or arrays can be indexed. For example, if FileName is a string variable, the expression FileName[3] returns the third character in the string denoted by FileName, while FileName[I + 1] returns the character immediately after the one indexed by I. For information about strings, see String types. For information about arrays and array properties, see Arrays and Array properties.
串、数组、数组属性、串指针、数组等能够被索引。例如,如果FileName是一个串变量,那么表达式FileName[3]返回用FileName表示的串的第3个字符,而FileName[I + 1]返回由I索引的字符之后的字符。有关串的信息,见串类型;有关数组和数组属性的信息,见数组和数组属性。