Resources in FTN95

In this section:

Using FTN95, it is possible to append resource directives to the end of a program using the RESOURCES directive. Everything after this directive (up to the end of the file) is treated as resources and passed to the SRC command. The result is combined with the object code produced by FTN95. In order to use the RESOURCES directive, the SRC command must be available on the PATH. All the resources for a program must be supplied in one place.

Here is a simple example:

   INTEGER i,winio@
   i=winio@('%ca[A beautiful bitmap]&')
     mybitmap BITMAP c:\bitmaps\pic1.bmp



Copyright © 1999-2020 Silverfrost Limited