Resources

The following procedures support the inclusion of arbitrary data, known as a resource, in a program.

resource(file) is shorthand for resource_named(file,file).

resource_named(rd,file) declares that file is a resource file. It will be accessible via the reader rd if a bundle is built.

bundle(m) declares that the module m is to be built as a bundle of the files specified by the prior calls to resource and resource_named.

For a description of how to access resources from your running program, see the Bundle and Rsrc interfaces.


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Mon Sep 25 18:35:54 PDT 1995 by heydon 
     modified on Thu Jun  1 08:19:22 PDT 1995 by kalsow 
     modified on Thu Jan  7 18:40:57 PST 1993 by muller