PROLOG FILE SEPARATOR Jocelyn Ireson-Paine Shelved on the 9th of December 1987 Amended on the 21st of December 1987 The entry comes as two files: this one, SPLIT.PRE; and the source, SPLIT.PL. To use the program, consult it and call 'split'. Documentation and notes about portability are given at the head of SPLIT.PL. CHECKED ON EDINBURGH-COMPATIBLE (POPLOG) PROLOG : yes. PORTABILITY : Should be easy. Hints are given in the program. INTERNAL DOCUMENTATION : Comments for each predicate, plus a more detailed description of the program, and a sample composite file. NB: If your implementation doesn't optimise tail recursion, or doesn't collect unused atoms, the program may run out of space (though I've tried to avoid recursion as much as possible).