![]() ![]() | ![]() |
- capadiscuss doesn't protect html before sending it out, but rather before writing it to the file - added function managermode(0 and fixed answers to use it, and all programs that call answers to support the new functionality - qzparse got a large amount of cleaning up done.
1: /* =||>>================================================================<<||= */ 2: /* 45678901234567890123456789012345678901234567890123456789012345678901234567 */ 3: /* =||>>================================================================<<||= */ 4: 5: #ifndef CAPA_FUNCTION_H 6: #define CAPA_FUNCTION_H 7: 8: #define RANDOM_F 1 9: #define CHOOSE_F 2 10: #define TEX_F 3 11: #define VAR_IN_TEX_F 4 12: #define PIN_F 5 13: #define CLASS_F 6 14: #define SECTION_F 7 15: #define PROBLEM_F 8 16: #define SET_F 9 17: #define NAME_F 10 18: #define SNUMBER_F 11 19: #define DUE_DATE_F 12 20: #define DUE_DAY_F 13 21: #define OPEN_DATE_F 14 22: #define ANSWER_DATE_F 15 23: #define TO_STRING_F 16 24: #define FORMAT_F 17 25: #define PICK_F 18 26: #define HTML_F 19 27: #define WEB_F 20 28: #define LINK_F 21 29: #define SUB_STRING_F 22 30: #define GET_SEED_F 23 31: #define SET_SEED_F 24 32: #define ARRAY_INDEX_F 25 33: #define ARRAY_SORTED_INDEX_F 26 34: #define DURATION 27 35: #define STRLEN_F 28 36: #define STRCHR_F 29 37: #define WEB_SERVER_F 30 38: 39: 40: /* ------------------------ Trigonometry Functions */ 41: 42: #define SIN_F 31 43: #define COS_F 32 44: #define TAN_F 33 45: #define ASIN_F 34 46: #define ACOS_F 35 47: #define ATAN_F 36 48: #define SINH_F 37 49: #define COSH_F 38 50: #define TANH_F 39 51: #define ASINH_F 40 52: #define ACOSH_F 41 53: #define ATANH_F 42 54: #define J_ZERO_F 43 55: #define J_ONE_F 44 56: #define J_N_F 45 57: #define Y_ZERO_F 46 58: #define Y_ONE_F 47 59: #define Y_N_F 48 60: #define ATANTWO_F 49 61: #define LOG_F 50 62: #define LOG_TEN_F 51 63: #define EXP_F 52 64: #define POW_F 53 65: #define ERF_F 54 66: #define ERFC_F 55 67: #define SQRT_F 56 68: #define FACTORIAL_F 57 69: 70: #define ARRAY_MIN_F 58 71: #define ARRAY_MAX_F 59 72: 73: 74: #define MIN_F 60 75: #define MAX_F 61 76: #define ABS_F 62 77: #define FLOOR_F 63 78: #define CEIL_F 64 79: #define SGN_F 65 80: #define MOD_F 66 81: #define REMAINDER_F 67 82: #define SIGNIFICANT_F 68 83: 84: 85: #define TO_INT_F 70 86: #define ROUNDTO_F 71 87: #define EVALUATE_F 72 88: #define ARRAY_MOMENTS_F 73 89: #define ARRAY_MEDIUM_F 74 90: #define ARRAY_VARIANCE_F 76 91: #define ARRAY_STD_DEV_F 77 92: #define ARRAY_SKEWNESS_F 78 93: #define ARRAY_INDEX_CNT_F 79 94: 95: #define CAPAID_PLUS 80 96: #define SEAT_NUMBER 81 97: #define IS_OPEN_F 82 98: #define IS_DUE_F 83 99: #define IS_ANSWER_F 84 100: #define FIRSTNAME_F 85 101: #define LASTNAME_F 86 102: #define CLASSPATH_F 87 103: #define CLASSNAME_F 88 104: #define MANAGERMODE_F 89 105: 106: #define CORRECT_F 100 107: #define TRIES_F 101 108: #define GRADE_F 102 109: 110: #define MIS_ARG_COUNT 97 111: #define MIS_ARG_TYPE 98 112: #define UNKNOWN_F 99 113: 114: /*************************************/ 115: 116: int match_function( ); 117: Symbol *do_function(); 118: 119: #endif /* CAPA_FUNCTION_H */ 120: