Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
4beddd14
Commit
4beddd14
authored
Jun 30, 2000
by
Jukka-Pekka Iivonen
Committed by
jpekka
Jun 30, 2000
Browse files
Added FALSE().
2000-06-30 Jukka-Pekka Iivonen <iivonen@iki.fi> * src/functions/fn-logical.c: Added FALSE().
parent
71d65f69
Changes
11
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4beddd14
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
...
...
ChangeLog-2000-10-10
View file @
4beddd14
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
...
...
NEWS
View file @
4beddd14
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).
...
...
OChangeLog-2000-10-10
View file @
4beddd14
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
...
...
OChangeLog-2001-06-26
View file @
4beddd14
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
...
...
OChangeLog-2002-01-22
View file @
4beddd14
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
...
...
OChangeLog-2003-12-23
View file @
4beddd14
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
...
...
OChangeLog-2005-11-14
View file @
4beddd14
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
...
...
TODO
View file @
4beddd14
...
...
@@ -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
...
...
plugins/fn-logical/functions.c
View file @
4beddd14
...
...
@@ -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_
node
s
(
cat
,
"true"
,
0
,
""
,
&
help_true
,
gnumeric_true
);
function_add_
arg
s
(
cat
,
"true"
,
""
,
""
,
&
help_true
,
gnumeric_true
);
}
src/functions/fn-logical.c
View file @
4beddd14
...
...
@@ -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_
node
s
(
cat
,
"true"
,
0
,
""
,
&
help_true
,
gnumeric_true
);
function_add_
arg
s
(
cat
,
"true"
,
""
,
""
,
&
help_true
,
gnumeric_true
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment