* bin/commit.hb
* config/detect.mk
* config/detfun.mk
* config/detplat.mk
* config/dir.mk
* config/dirsh.mk
* config/global.mk
* config/globsh.mk
* config/instsh.mk
* config/lang.hb
* config/lang2po.hb
* config/po2lang.hb
* config/postinst.hb
* contrib/hbexpat/tests/tohash.prg
* contrib/hbformat/utils/hbformat.ini
* contrib/hbmisc/hbedit.prg
* contrib/hbmxml/tests/testmxml.prg
* contrib/hbnetio/utils/hbnetio/_console.prg
* contrib/hbnetio/utils/hbnetio/_winsvc.prg
* contrib/hbnetio/utils/hbnetio/hbnetio.prg
* contrib/hbnetio/utils/hbnetio/netiomgm.hb
* contrib/hbwin/tests/ole.prg
* contrib/hbwin/tests/oletst2.js
* contrib/hbwin/tests/oletst2.vbs
* contrib/hbxpp/doc/en/binnumx.txt
* contrib/hbxpp/doc/en/dbcmdx.txt
* contrib/xhb/htmutil.prg
* contrib/xhb/tfile.prg
* contrib/xhb/tframe.prg
* contrib/xhb/thtm.prg
* ChangeLog.txt
* debian/copyright
* doc/class_tp.txt
* doc/hdr_tpl.txt
* doc/xhb-diff.txt
* LICENSE.txt
* package/harbour-wce.spec.in
* package/harbour-win.spec.in
* package/harbour.spec
* package/mpkg_rpm_wce.sh
* package/mpkg_rpm_win.sh
* package/mpkg_rpm.sh
* package/mpkg_src.sh
* package/mpkg_ver.sh
* src/rtl/achoice.prg
* src/rtl/getsys53.prg
* src/rtl/tgetlist.prg
* src/rtl/tlabel.prg
* src/rtl/tmenusys.prg
* tests/hbdoc.prg
* tests/langmsg.prg
* tests/rto_get.prg
* tests/rto_tb.prg
+ doc/en/ati.txt
+ doc/en/dirdrive.txt
+ doc/en/hashfunc.txt
+ doc/en/hbtoken.txt
+ doc/en/left.txt
+ doc/en/proc.txt
+ doc/en/strtran.txt
+ doc/en/transfrm.txt
+ doc/en/typefile.txt
* doc/en/*
* more partial sync with 3.4 fork
118 lines
2.7 KiB
Plaintext
118 lines
2.7 KiB
Plaintext
/* $DOC$
|
|
$AUTHOR$
|
|
Copyright 1999 Jose Lalin <dezac@corevia.com>
|
|
$TEMPLATE$
|
|
Function
|
|
$NAME$
|
|
IsAffirm()
|
|
$CATEGORY$
|
|
API
|
|
$SUBCATEGORY$
|
|
Language and Nation
|
|
$ONELINER$
|
|
Checks if passed char is an affirmation char
|
|
$SYNTAX$
|
|
IsAffirm( <cChar> ) --> lTrueOrFalse
|
|
$ARGUMENTS$
|
|
<cChar> is a char or string of chars
|
|
$RETURNS$
|
|
<lTrueOrFalse> True if passed char is an affirmation char, otherwise
|
|
false
|
|
$DESCRIPTION$
|
|
This function is used to check if a user's input is true or not
|
|
according to the msgxxx module used.
|
|
$EXAMPLES$
|
|
// Wait until user enters Y
|
|
DO WHILE ! IsAffirm( cYesNo )
|
|
ACCEPT "Sure: " TO cYesNo
|
|
ENDDO
|
|
$STATUS$
|
|
R
|
|
$COMPLIANCE$
|
|
C
|
|
$FILES$
|
|
Library is core
|
|
$SEEALSO$
|
|
IsNegative(), NationMsg()
|
|
$END$
|
|
*/
|
|
|
|
/* $DOC$
|
|
$AUTHOR$
|
|
Copyright 1999 Jose Lalin <dezac@corevia.com>
|
|
$TEMPLATE$
|
|
Function
|
|
$NAME$
|
|
IsNegative()
|
|
$CATEGORY$
|
|
API
|
|
$SUBCATEGORY$
|
|
Language and Nation
|
|
$ONELINER$
|
|
Checks if passed char is a negation char.
|
|
$SYNTAX$
|
|
IsNegative( <cChar> ) --> lTrueOrFalse
|
|
$ARGUMENTS$
|
|
<cChar> is a char or string of chars
|
|
$RETURNS$
|
|
<lTrueOrFalse> True if passed char is a negation char, otherwise
|
|
false.
|
|
$DESCRIPTION$
|
|
This function is used to check if a user's input is true or not
|
|
according to the msgxxx module used.
|
|
$EXAMPLES$
|
|
// Wait until user enters N
|
|
DO WHILE ! IsNegative( cYesNo )
|
|
ACCEPT "Sure: " TO cYesNo
|
|
ENDDO
|
|
$STATUS$
|
|
R
|
|
$COMPLIANCE$
|
|
C
|
|
$FILES$
|
|
Library is core
|
|
$SEEALSO$
|
|
IsAffirm(), NationMsg()
|
|
$END$
|
|
*/
|
|
|
|
/* $DOC$
|
|
$AUTHOR$
|
|
Copyright 1999 Jose Lalin <dezac@corevia.com>
|
|
$TEMPLATE$
|
|
Function
|
|
$NAME$
|
|
NationMsg()
|
|
$CATEGORY$
|
|
API
|
|
$SUBCATEGORY$
|
|
Language and Nation
|
|
$ONELINER$
|
|
Returns international strings messages.
|
|
$SYNTAX$
|
|
NationMsg( <nMsg> ) --> cMessage
|
|
$ARGUMENTS$
|
|
<nMsg> is the message number you want to get.
|
|
$RETURNS$
|
|
<cMessage> if <nMsg> is a valid message selector, returns the message.
|
|
If <nMsg> is NIL, it returns "Invalid Argument", and if <nMsg> is any
|
|
other type it returns an empty string.
|
|
$DESCRIPTION$
|
|
NationMsg() returns international message descriptions.
|
|
$EXAMPLES$
|
|
// Displays "Sure Y/N: " and waits until user enters Y
|
|
// Y/N is the string for NationMsg( 12 ) with default natmsg module.
|
|
DO WHILE ! IsAffirm( cYesNo )
|
|
ACCEPT "Sure " + NationMsg( 12 ) + ": " TO cYesNo
|
|
ENDDO
|
|
$STATUS$
|
|
R
|
|
$COMPLIANCE$
|
|
C
|
|
$FILES$
|
|
Library is core
|
|
$SEEALSO$
|
|
IsAffirm(), IsNegative()
|
|
$END$
|
|
*/
|