If preferred, the user may code using the C language. C procedures may be called directly from within the component definition, in the exact same manner as Fortran subroutines and functions. C language code cannot be inserted directly in component definition script, as the PSCAD project compiler, which writes all of the system Fortran files, will not translate from C.
See Interfacing to C Language Source in the PSCAD manual chapter Component Design for details, as well as examples on this subject.