EXHIBIT 10.1 CREDIT AGREEMENT dated as of July 31, 1998, by and among GLOBAL IMAGING SYSTEMS, INC. and the Material Subsidiaries thereof party hereto, as Borrowers, the Lenders referred to herein, FIRST UNION NATIONAL BANK, as Administrative Agent,