/*Translated by FOR_C, v3.4.2 (-), on 07/09/115 at 08:30:54 */ /*FOR_C Options SET: ftn=u io=c no=p op=aimnv s=dbov str=l x=f - prototypes */ #include #include "fcrt.h" #include "ermor.h" #include #include /* COMMON translations */ struct t_m77err { long int idelta, ialpha; } m77err; /* end of COMMON translations */ void /*FUNCTION*/ ermor( char *msg, byte flag) { /* Copyright (c) 1996 California Institute of Technology, Pasadena, CA. * ALL RIGHTS RESERVED. * Based on Government Sponsored Research NAS7-03001. *>> 1985-09-20 ERMOR Lawson Initial code. * * -------------------------------------------------------------- * SUBROUTINE ARGUMENTS * -------------------- * MSG Message to be printed as part of the diagnostic. * * FLAG A single character,which when set to '.' will * call the subroutine ERFIN and will just RETURN * when set to any other character. * * -------------------------------------------------------------- * */ if (m77err.ialpha >= -1) { printf("%s \n", msg); if (flag == '.') erfin(); } return; } /* end of function */