(set 'y 2015)
(date-value y 7 18)
ERR: missing argument in function date-value.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
CELL* parseRegexOptions(CELL* params, UINT * options, int evalFlag)
{
CELL* cell;
int i;
char* buffer;
if (evalFlag)
cell = evaluateExpression(params);
else
cell = params;
*options = 0;
if (cell->type == CELL_STRING) {
buffer = (char*)cell->contents;
for (i = 0; i < cell->aux; i ++) {
switch (buffer[i]) {
case 'i': *options |= 1; break; /* PCRE_CASELESS */
case 'm': *options |= 2; break; /* PCRE_MULTILINE */
case 's': *options |= 4; break; /* PCRE_DOTALL */
case 'x': *options |= 8; break; /* PCRE_EXTENDED */
case 'u': *options |= 2048; break; /* PCRE_UTF8 */
case 'p': *options |= 0x10000; break; /* PRECOMPILED */
}
}
} else {
getIntegerExt(cell, options, FALSE);
}
return (params->next);
}