'''array nextelement''' ''arrayName searchId'' Returns the name of the next element in ''arrayName'', or an empty string if all elements of ''arrayName'' have already been returned in this search. The ''searchId'' argument identifies the search, and must have been the return value of an '''[array startsearch]''' command. Warning: if elements are added to or deleted from the array, then all searches are automatically terminated just as if '''[array donesearch]''' had been invoked; this will cause '''[array nextelement]''' operations to fail for those searches. ---- See also: * [array] * [array anymore] * [array donesearch] * [array startsearch] ---- [Category Command] - [Tcl syntax]