#include #include #include "PidfStr.h" #include "PidfAnsi.h" #include "util_var.h" #include "user_defs.h" #include "ret_codes.h" #include "idf_defs.h" #include "ret_codes.h" #include "libbase_udf.h" #include "libCfg.h" #include "UDFCDF_Str.h" #include "UDFCDF_Ansi.h" void GetAlt (ByTe_2 N) { extern struct UserDefs InFo; extern struct WorkArea Wa; struct SrcInfo *S; struct idf_data *ExDa; ReaL_4 *f1; ByTe_2 *Ss, R; ByTe_1 *Cs; ByTe_1 *X = ""; S = (struct SrcInfo *)InFo.Src + N; Cs = (ByTe_1 *)Wa.CStore; Ss = (ByTe_2 *)Wa.SStore; ExDa = (struct idf_data *) InFo.UDF; f1 = (ReaL_4 *)S->Alt; R = convert_to_units (S->Key, X, S->Ver, InFo.UDF, SCAN_INDEX, 0, S->AltNAS, Cs + S->AltTbls, Ss + S->AltOps, f1, 0, 0L); ErrorRpt ("CONVERT_TO_UNITS", R, 1); S->DLen = ExDa->num_sample; }