FileTypes module


Contents


Introduction and Overview

The FileTypes module is a ROM-resident module on RISC OS 4.24. In previous versions of the OS, the FileSwitch module performed the job of the FileTypes module as part of its initialisation. In order to reduce the maintenance requirements on FileSwitch and to provide a better division of labour, the FileTypes module was created.

On initialisation, the FileTypes module will notify set the default system variables for various filetypes which are required by the rest of the OS.


Technical Details

When initialised, the FileTypes module will read the file Resources:$.Resources.FileTypes.Types. This file contains a list of filetype-variable-value triples which are used to set the system variables.

The FileTypes module is not user modifiable. It is documented here for completeness.

File format

The format of the file is :

<xxx> <y> <zzz>

FieldMeaning
xxxHex filetype to set
yType of variable to set :
ValueMeaning
LLoad action
RRun action
PPrint action
TType name
zzzValue to use


Document information

Maintainer(s): RISCOS Ltd <developer@riscos.com>
History:
RevisionDateAuthorChanges
1ROLInitial version
Disclaimer:

Copyright © Pace Micro Technolgy plc, 2002.
Portions copyright © RISCOS Ltd, 2002.
Published by RISCOS Limited.
No part of this publication may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, or stored in any retrieval system of any nature, without the written permission of the copyright holder and the publisher, application for which shall be made to the publisher.