How To: APPEND and MAPJOIN coverages listed in a text file
AML looping syntax to enable the APPEND and MAPJOIN commands to read coverage names from a text file.
Create a text file with the names of the coverages to be used by APPEND or MAPJOIN in a list format. The [LISTFILE] function may be helpful in this situation, as it has the option to write the list to an output ascii file.
Code: Arc: &type [listfile * -cover covlist.txt]
This example will write the names of all coverages in the current workspace to the file COVLIST.TXT.
The following code is an example of how to read the coverage names from the text file and supply them to the dialog of the APPEND or MAPJOIN command in a loop.