There's nothing wrong with what you have done, but just so you know, there's no need for two commands READ C$ ARRAY$[I]=C$ ARRAY$[I] can be considered just another string variable, so it is more common to use READ ARRAY$[I]