Skip to content
Pete edited this page Jan 11, 2019 · 11 revisions

Back to Home

  • L2Bin(<nExp> ) cBinaryInteger
    returns a four-byte character string formatted as a 32-bit binary integer.

  • LastKey([<nInputMask>]) nInkeyCode
    returns the INKEY() value of the last key fetched from the keyboard buffer by the INKEY() function, or the next mouse event, or a wait state such as ACCEPT, INPUT, READ, WAIT, ACHOICE(), DBEDIT(), or MEMOEDIT(). Retains its current value until another key is fetched from the keyboard buffer.

  • LastRec() nRecords
    returns the number of records in a work area or 0 when there is no work area used or if it is empty. (Same as RecCount())

  • Left( <cString>, <nCount> ) cSubString
    extracts the first <nCount> characters from the left side of <cString>. If <nCount> is larger than the length of <cString>, entire <cString> is returned.

  • Len( <cString>|<aArray>|<hHash> ) nLength
    returns the number of items contained in a string, array or hash. This means:

    • If argument passed is a string, returned value is the length of string in characters, if current codepage supports such functionality, (f.e., "UTF8EX" code-page does support it but "UTF8" does not!)
      So, the same string may have different number of characters with different encoding. (see 'this post' for more..) (see also hb_BLen())
    • If argument passed is an array or a hash table, returned value is the number of their elements.
    • If argument passed is empty, function returns 0 (zero).
  • LenNum( <nNumber> ) nLength
    returns the number of digits plus the decimal point, the decimal digits and the minus sign (if any) of a number, i.e. the number of characters needed to display/print the number.

  • Log( <nExp> ) nNaturalLog
    returns the natural logarithm of a number.

  • Lower(<cString>) cLowerString
    returns a replica of <cString> but with all alphabetic characters converted to lowercase. All other characters remain the same as in the original string.

  • LTrim(<cString>) cTrimString
    removes all leading spaces of <cString>. If the string contains spaces only, a null string ("") is returned.

  • LUpdate() dModification
    returns the date of the last change to the open database file in the current work area. If no database is in use, returns a blank date.

Back to Home

Index

Harbour exclusive functions Clipper compatible functions
hb_A A
hb_B B
hb_C C
hb_D D
hb_E E
hb_F F
hb_G G
hb_H H
hb_I I
hb_J_K J K
hb_L L
hb_M M
hb_N_O N O
hb_P P
hb_R Q R
hb_S S
hb_T T
hb_U U
hb_V V W
hb_W X Y

  • Contrib. Libraries
HBWIN WinAPI Library Compress Libraries
HBHPDF Library (Haru) Multi Threading
Harbour Socket API hbCT (Cl*pper tools)
Serial API hbNF (NanForum library)
[HBCURL] cURL API Library Mini-XML docs
HBBMP Library

Clone this wiki locally