I've never used opendir before and find the help files less than helpful. Quoting the help screen: n = opendir("SCR_MASK", "fpcust") Return - list of all screens for the fpcust file In what is the list returned? Howie