xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

IsNegative()

Converts "No" in a national language to a logical value.

Syntax

IsNegative( <cChar> ) --> lIsNo

Arguments

<cChar>
This is a single character. It is compared case-insensitive with the first letter of the word "No" of the currently selected national language.

Return

The function returns .T. (true) if <cChar> is the first letter of the word "No" in the currently selected national language (see HB_LangSelect()). Otherwise, .F. (false) is returned.

Note:  the letter "N" means "No" in many languages. "Yes" begins with different characters in many languages (see IsAffirm()).

Info

See also:HB_LangSelect(), IsAffirm()
Category: Language specific , xHarbour extensions
Source:rtl\natmsg.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe