Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

HB_LANGNAME()

Return the Name of the Current Language module in USE
---------------------------------------------------------------------------------

 Syntax

        HB_LANGNAME()   --> cLangName  

 Arguments

        None.    

 Returns

        <cLangName>    Name of the Current language in use    

 Description

      This function return the current name of the language module in use.

 Examples

      REQUEST HB_LANG_PT
      REQUEST HB_LANG_RO
      REQUEST HB_LANG_ES
      FUNCTION MAIN()
      HB_LANGSELECT('PT')       // Default language is now Portuguese
      ? CDOW(DATE()) //Segunda-feira
      ? 'Current language is ",HB_LANGNAME() //Portuguese
      ? 'Old language id selected is ",HB_LANGSELECT()   // PT
      HB_LANGSELECT('RO')       // Default language is now Romanian
      ? CMONTH(DATE()) // Mai
      ? 'Old language id selected is ",HB_LANGSELECT()   // RO
      HB_LANGSELECT('ES')       // Default language is now Romanian
      ? 'Current language is ",HB_LANGNAME() //Spanish
      ? CMONTH(DATE()) //       Mayo
      ? CDOW(DATE()) //  Lunes

 Tests

      See tests/langapi.prg

Status

      Ready

 Compliance

      This function is a Harbour Extension

 Platforms

      Dos,Win32,OS/2

 Files

      Library is lang



See Also: HB_LANGSELECT() NATIONMSG()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson