Difference between revisions of "IS LOGICAL()"
From Lianjapedia
Helen.george (Talk | contribs) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to check whether an expression is a logical | Function to check whether an expression is a logical | ||
− | |||
==Syntax== | ==Syntax== | ||
IS_LOGICAL(<exp>) | IS_LOGICAL(<exp>) | ||
− | |||
==See Also== | ==See Also== | ||
[[IS_ARRAY()]], [[IS_DATE()]], [[IS_FLOAT()]], [[IS_INT()]], [[IS_NUMERIC()]], [[IS_OBJECT()]], [[IS_STRING()]], [[ISALPHA()]], [[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[TYPE()]] | [[IS_ARRAY()]], [[IS_DATE()]], [[IS_FLOAT()]], [[IS_INT()]], [[IS_NUMERIC()]], [[IS_OBJECT()]], [[IS_STRING()]], [[ISALPHA()]], [[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[TYPE()]] | ||
− | |||
==Description== | ==Description== | ||
The IS_LOGICAL() function returns .T. (true) if the specified expression is a logical value, otherwise .F. (false). | The IS_LOGICAL() function returns .T. (true) if the specified expression is a logical value, otherwise .F. (false). | ||
− | |||
==Example== | ==Example== | ||
Line 26: | Line 22: | ||
.T. | .T. | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== | ||
Line 32: | Line 27: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Formatting Functions]] |
− | + | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] |
Latest revision as of 08:12, 4 February 2013
Purpose
Function to check whether an expression is a logical
Syntax
IS_LOGICAL(<exp>)
See Also
IS_ARRAY(), IS_DATE(), IS_FLOAT(), IS_INT(), IS_NUMERIC(), IS_OBJECT(), IS_STRING(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()
Description
The IS_LOGICAL() function returns .T. (true) if the specified expression is a logical value, otherwise .F. (false).
Example
> ? is_logical(.T.) .T. > ? is_logical(True) .T. > ? is_logical(False) .T. > ? is_logical(2 = 1 + 1) .T.
Products
Lianja, Lianja Server