Subj : Re: Do all programming languages use files? To : comp.programming From : Richard Heathfield Date : Mon Aug 29 2005 02:17 pm Past said: > I was doing a research to see if all the programming languages ever > written have atleast some small level capability of successfully > writing and reading from files? No, they don't. Consider, for example, this language, which was designed for use on a particular 3-bit processor with one general-purpose register. It has the following syntax: HALT - stop the program JNZ n - redirection of program to address n unless register is clear LSH - left-shift the register by one bit RSH - right-shift the register by one bit AND n - perform bitwise-AND of n and register, storing in register OR n - perform bitwise-OR of n and register, storing in register XOR n - perform bitwise-XOR of n and register, storing in register NOT - perform bitwise-NOT of register, storing in register It is possible to write (very primitive) programs in this language - but there is no file handling at all. -- Richard Heathfield "Usenet is a strange place" - dmr 29 July 1999 http://www.cpax.org.uk Email rjh at the above domain .