version 1.4, 2000/02/22 18:19:02
|
version 1.7, 2000/06/30 21:36:16
|
Line 1
|
Line 1
|
|
/* definitions of all parser constants/structs |
|
Copyright (C) 1992-2000 Michigan State University |
|
|
|
The CAPA system is free software; you can redistribute it and/or |
|
modify it under the terms of the GNU Library General Public License as |
|
published by the Free Software Foundation; either version 2 of the |
|
License, or (at your option) any later version. |
|
|
|
The CAPA system is distributed in the hope that it will be useful, |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
Library General Public License for more details. |
|
|
|
You should have received a copy of the GNU Library General Public |
|
License along with the CAPA system; see the file COPYING. If not, |
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
Boston, MA 02111-1307, USA. */ |
|
|
/* <==================================================================> */ |
/* <==================================================================> */ |
/* by Isaac Tsai @ 1994 */ |
/* by Isaac Tsai @ 1994 */ |
|
|
Line 267 typedef struct _problem {
|
Line 285 typedef struct _problem {
|
int show_explain; |
int show_explain; |
int show_br; /* web only, <BR> on is by default */ |
int show_br; /* web only, <BR> on is by default */ |
int show_ans_box; /* web only, answer box is shown by default */ |
int show_ans_box; /* web only, answer box is shown by default */ |
|
int verbatim; /* do verbatim protection around answers */ |
int ans_op; /* ANS_AND or ANS_OR */ |
int ans_op; /* ANS_AND or ANS_OR */ |
char *id_list; |
char *id_list; |
struct _pts_list *pts_list; |
struct _pts_list *pts_list; |
Line 354 typedef struct _answer_info {
|
Line 373 typedef struct _answer_info {
|
#define DO_SHOW 1 |
#define DO_SHOW 1 |
#define DONOT_SHOW 0 |
#define DONOT_SHOW 0 |
|
|
|
#define DO_VERBATIM 1 |
|
#define DONOT_VERBATIM 0 |
|
|
#define SHOW_BR_DEFAULT DO_SHOW |
#define SHOW_BR_DEFAULT DO_SHOW |
|
#define VERBATIM_DEFAULT DO_VERBATIM |
#define SHOW_ANSBOX_DEFAULT DO_SHOW |
#define SHOW_ANSBOX_DEFAULT DO_SHOW |
|
|
#define SIG_LB_DEFAULT 0 /* ---- sig_lbound ------- */ |
#define SIG_LB_DEFAULT 0 /* ---- sig_lbound ------- */ |
Line 393 typedef struct _answer_info {
|
Line 416 typedef struct _answer_info {
|
#define ANS_CNT_NOT_MATCH 9 |
#define ANS_CNT_NOT_MATCH 9 |
#define SUB_RECORDED 10 |
#define SUB_RECORDED 10 |
#define BAD_FORMULA 11 |
#define BAD_FORMULA 11 |
|
#define WANTED_NUMERIC 12 |
|
|
|
|
|
|
Line 441 typedef struct _answer_info {
|
Line 465 typedef struct _answer_info {
|
#define GAMMA_DIS 14 |
#define GAMMA_DIS 14 |
#define CHI_DIS 15 |
#define CHI_DIS 15 |
#define NONCENTRAL_CHI_DIS 16 |
#define NONCENTRAL_CHI_DIS 16 |
|
#define FORMULA_PICK_POINTS 17 |
|
|
#define GET_GENERATOR 0L |
#define GET_GENERATOR 0L |
#define SET_GENERATOR 1L |
#define SET_GENERATOR 1L |