Commit 4beddd14 authored by Jukka-Pekka Iivonen's avatar Jukka-Pekka Iivonen Committed by jpekka

Added FALSE().

2000-06-30  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-logical.c: Added FALSE().
parent 71d65f69
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
Gnumeric 0.57
Morten
Morten:
* Cleanup analysis tool code.
* Eliminate many fixed limits in the code. (Still some to go.)
Jukka:
* Implemented TRUE and FALSE logical functions and started
COUPDAYS.
Translations:
* Updated: de (Karl), no (Kjartan), maybe more.
* Update not new, but not mentioned the last time: pl (Zbigniew).
......
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/functions/fn-logical.c: Added FALSE().
2000-06-29 Jody Goldberg <jgoldberg@home.com>
* src/application.c (application_set_selected_sheet) : short circuit
......
......@@ -34,7 +34,7 @@ Gnumeric Spread Sheet task list
ODDLPRICE, ODDLYIELD, PRICE, VDB, YIELD, YIELDDISC, and YIELDMAT.
* Fix the Following Functions
* CELL, COUPDAYS, DURATION, and FALSE()
* CELL, COUPDAYS, and DURATION
* Printing
* Preview
......
......@@ -246,6 +246,28 @@ gnumeric_true (FunctionEvalInfo *ei, GList *expr_node_list)
/***************************************************************************/
static char *help_false = {
N_("@FUNCTION=FALSE\n"
"@SYNTAX=FALSE()\n"
"@DESCRIPTION="
"FALSE returns boolean value false. "
"This function is Excel compatible. "
"\n"
"@EXAMPLES=\n"
"FALSE() equals FALSE.\n"
"\n"
"@SEEALSO=TRUE")
};
static Value *
gnumeric_false (FunctionEvalInfo *ei, GList *expr_node_list)
{
return value_new_bool (FALSE);
}
/***************************************************************************/
void
logical_functions_init (void)
{
......@@ -256,6 +278,9 @@ logical_functions_init (void)
"",
&help_and, gnumeric_and);
function_add_args (cat,"false", "",
"",
&help_false, gnumeric_false);
def = function_add_nodes (cat,"if", 0,
"logical_test,value_if_true,value_if_false",
&help_if, gnumeric_if);
......@@ -267,7 +292,7 @@ logical_functions_init (void)
function_add_nodes (cat,"or", 0,
"",
&help_or, gnumeric_or);
function_add_nodes (cat,"true", 0,
"",
&help_true, gnumeric_true);
function_add_args (cat,"true", "",
"",
&help_true, gnumeric_true);
}
......@@ -246,6 +246,28 @@ gnumeric_true (FunctionEvalInfo *ei, GList *expr_node_list)
/***************************************************************************/
static char *help_false = {
N_("@FUNCTION=FALSE\n"
"@SYNTAX=FALSE()\n"
"@DESCRIPTION="
"FALSE returns boolean value false. "
"This function is Excel compatible. "
"\n"
"@EXAMPLES=\n"
"FALSE() equals FALSE.\n"
"\n"
"@SEEALSO=TRUE")
};
static Value *
gnumeric_false (FunctionEvalInfo *ei, GList *expr_node_list)
{
return value_new_bool (FALSE);
}
/***************************************************************************/
void
logical_functions_init (void)
{
......@@ -256,6 +278,9 @@ logical_functions_init (void)
"",
&help_and, gnumeric_and);
function_add_args (cat,"false", "",
"",
&help_false, gnumeric_false);
def = function_add_nodes (cat,"if", 0,
"logical_test,value_if_true,value_if_false",
&help_if, gnumeric_if);
......@@ -267,7 +292,7 @@ logical_functions_init (void)
function_add_nodes (cat,"or", 0,
"",
&help_or, gnumeric_or);
function_add_nodes (cat,"true", 0,
"",
&help_true, gnumeric_true);
function_add_args (cat,"true", "",
"",
&help_true, gnumeric_true);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment