5 Producing IRAF-specific Interface Files from an IFD

It may sometimes be found that the interface file required when running a Starlink application from IRAF is different from that required normally. Conditional statements (see Section 2.2) for the ‘irafifl’ environment may be included in the IFD and the Tcl script ifd2irafifl used to create the special interface files (no other files are produced).

For example, with the IFD:

  package pkg {
    irafifl! { executable pkg_exe1 {
     ...
     }
     executable pkg_exe2 {
        action act1 {
           parameter act1par1 {
              type _REAL
              vpath prompt
            irafifl! {ppath CURRENT DYNAMIC DEFAULT}
            irafifl: {ppath DYNAMIC DEFAULT}
              ...
           }
           ...
        }
        ...
     }
  }

The command:

% ifd2irafifl package

will produce an interface file for pkg_exe2 only, with a ppath of ‘DYNAMIC,DEFAULT’ for parameter act1par of action act1.