Subversion Repositories wimsdev

Rev

Rev 15516 | Rev 16080 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15516 Rev 15588
Line 1435... Line 1435...
1435
/* strip enclosing parentheses */
1435
/* strip enclosing parentheses */
1436
void calc_declosing(char *p)
1436
void calc_declosing(char *p)
1437
{
1437
{
1438
  strip_enclosing_par(p);
1438
  strip_enclosing_par(p);
1439
}
1439
}
-
 
1440
/* return no if the parenthesis do not match */
-
 
1441
void calc_checkallpar(char *p)
1440
 
1442
{
-
 
1443
  if(check_parentheses(p,1)==0)
-
 
1444
    ovlstrcpy(p, "yes");
-
 
1445
  else ovlstrcpy(p, "no");
-
 
1446
}
1441
/* remove html tag, very rudimentary. */
1447
/* remove html tag, very rudimentary. */
1442
void calc_detag(char *p)
1448
void calc_detag(char *p)
1443
{
1449
{
1444
  char *p1, *p2;
1450
  char *p1, *p2;
1445
  for(p1=strchr(p,'<'); p1!=NULL; p1=strchr(p1,'<')) {
1451
  for(p1=strchr(p,'<'); p1!=NULL; p1=strchr(p1,'<')) {
Line 2184... Line 2190...
2184
      {"charcnt", 0,      calc_lengthof},
2190
      {"charcnt", 0,      calc_lengthof},
2185
      {"charcount", 0,      calc_lengthof},
2191
      {"charcount", 0,      calc_lengthof},
2186
      {"charno", 0,      calc_lengthof},
2192
      {"charno", 0,      calc_lengthof},
2187
      {"charnum", 0,      calc_lengthof},
2193
      {"charnum", 0,      calc_lengthof},
2188
      {"chars",  1, calc_charof},
2194
      {"chars",  1, calc_charof},
-
 
2195
      {"checkallpar",0,calc_checkallpar},
2189
      {"checkdata", 0, calc_checkdata},
2196
      {"checkdata", 0, calc_checkdata},
2190
      {"checkdatamodule",0, calc_checkdata},
2197
      {"checkdatamodule",0, calc_checkdata},
2191
      {"checkhost", 0, calc_checkhost},
2198
      {"checkhost", 0, calc_checkhost},
2192
      {"column", 1, calc_columnof},
2199
      {"column", 1, calc_columnof},
2193
      {"columns", 1, calc_columnof},
2200
      {"columns", 1, calc_columnof},