On Fri, 18 Aug 1995 14:40:32 +0200, Frode Tenneboe said: > But the SAM is stil insensible enough to differ between the filetypes > BASIC, CODE, SCREEN, OPENTYPE, etc.
These distinctions are not in the name, but in the directory entry. There is only a small difference between that and putting the difference in a magic number at the start of the file. > But you can call a BASIC-program "foo.c" if you want to - the ".c" True. > does not have anything to do with the filetype. The filetype is > determined from the first byte of the directory-entry. The postfix > should not be important for the operating system - an excelent example > of the oposite is MessDos.... But lots of utilities use file suffixes for convenience. You _can_ get the Unix C compiler to compile a C program that doesn't end with ".c", but it's nontrivial. imc

