/// <summary> /// Find type of variables with ident name /// </summary> /// <param name="ident"></param> /// <returns>type of ident</returns> private static char FindIndentType(string ident) { Var_type type = variables[ident]; switch (type) { case Var_type.integer: return('i'); case Var_type.real: return('d'); case Var_type.boolean: return('b'); default: return(' '); } }