First Steps with RISC OS 4
We have previously mentioned Filetypes, and this is very important part of the way that RISC OS operates.
With most operating systems, to make program load a certain file when you double-click on it you have to associate that type of file with a particular program. This normally means adding it to a list kept by the operating system. If you remove that program or move it elsewhere on your hard drive or install another program that you would prefer to load that type of file you have to alter the list.
With RISC OS it is the program itself that declares what type of file it wants to load when you double-click on it by setting a Load Alias and, if clicking on the file should also run the program if it's not running already, it will set a Run Alias for the file. The program also provides the sprites for the files. This is all done by the !Boot file within the application directory, and as soon as the filer sees an application for the first time it will obey the instructions in the !Boot file and set up the necessary aliases.
It therefore doesn't matter where on your hard drive the program is, or even which drive it's on. As long as the filer has 'seen' the program it will set any required aliases and load the sprites for the program's files so that files of that type will be displayed correctly.
Filetypes consist of a three digit hexadecimal number, but for most common types there is also an associated name, so the filetype can be referred to, or have its type set, either by its number or name.
Shown below are two windows produced from Info on the Filer menu. One is for a DrawFile, the other for a plain text file. In both cases the Info window shows the filetype name, it's number, and the sprite associated with that type of file. As you become familiar with RISC OS you will learn to recognise many of these file types.