Skip to content
Pete edited this page Dec 11, 2016 · 6 revisions

Back to Home

  • SaveScreen([<nTop>], [<nLeft>], [<nBottom>], [<nRight>]) -> cScreen
    saves portion or entire screen.

  • Scroll([<nTop>], [<nLeft>], [<nBottom>], [<nRight>], [<nVert>], [<nHoriz>]) -> NIL
    scrolls portion or entire screen.

  • Seconds() -> nSeconds.hundredths.
    returns the system time as a numeric value in the form sssss.ff (range: 0.00 - 86399.99), which number is in fact, the number of seconds elapsed since midnight, based on a twenty-four hour clock.

  • Secs( <cTime> ) -> nSeconds
    converts <cTime> to seconds (integer). For empty or invalid <cTime> returns 0.

  • Select([<cAlias>]) -> nWorkArea
    returns nWorkArea occupied by given <cAlias>. If no <cAlias> is given, the currently selected work area number is returned or 1 if none selected. If a non-existent or invalid <cAlias> is given, returns 0 zero.

  • Set(<nSpecifier>, [<expNewSetting>], [<lOpenMode>]) -> lCurrentSetting
    returns <nSpecifier> setting and optionally changes it. Refer to set.ch header file for available settings.

  • SetBlink([<lToggle>]) -> lCurrentSetting
    toggles blink state by changes the meaning of the asterisk (*) in a color string. When .T. blinking is on, when .F. background intensity is on. (Default=.T.)

  • SetCancel([<lToggle>]) -> lCurrentSetting

  • SetColor([<cColorString>]) -> cCurrentColor

  • SetCursor([<nCursorShape>]) -> nCurrentSetting

  • SetKey(<nInkeyCode>, [<bAction>]) -> bCurrentAction

  • SetMode(<nRows>, <nCols>) -> lSuccess

  • SetPos(<nRow>, <nCol>) -> NIL

  • SetPrc(<nRow>, <nCol>) -> NIL

  • SoundEx(<cString>) -> cSoundExString
    converts <cString> to a four-character code used to find similar-sounding words or names. The first character of the code is the first character of <cString> and the rest three are coded numbers. Vowels are ignored unless they are the first letter of the string. It's possibly useful function to search for sound-alike english words. Does NOT support characters with codes above 127 in ASCII table.

  • Space( <nNumber> ) -> cSpaceChars
    returns a string that contains nNumber space character(s) (ASCII character 32).

  • Sqrt( <nNumber> ) -> nSquareRoot
    returns the square root of <nNumber>. The precision of this evaluation is based solely on the settings of the SET DECIMAL TO command. Any negative number passed as <nNumber> will always return a 0.

  • StoD( [<cDate>] ) -> dDate
    converts a date string to date value formatted as yyyymmdd.

  • Str(<nNumber>, [<nLength>], [<nDecimals>]) -> cNumber
    converts a numeric expression <nNumber> to a character string.
    <nLength> is the length of the character string to return, including decimal digits, decimal point, and sign. <nDecimals> is the number of decimal places to return.

  • StrTran(<cString>, <cFindString>, [<cReplaceWith>], [<nStart>], [<nOccurences>]) -> cNewString
    it searches into <cString> for any occurrence of <cFindString>, and replaces it with <cReplaceWith>. If <cRepLaceWith> is not specified, a NULL byte will replace the <cFindString> or in other words the <cFindString> will be removed. <nStart> is the starting occurrence to be replaced (default is 1st occurence). <nOccurrences> is the number of occurrences to be replaced (default is all occurences).

  • StrZero( <nNumber>, [<nLength>], [<nDecimals>] ) -> cNumber
    converts a numeric expression <nNumber> to a character string, padded with leading zero(s).
    <nNumber> is the numeric expression to be converted to a character string. <nLength> is the length of the character string to return, including decimal digits, decimal point, and sign. <nDecimals> is the number of decimal places to return.

  • Stuff(<cString>, <nStart>, <nDelete>, <cInsert>) -> cNewString
    inserts and/or deletes characters in a string. Basically, inserts <cInsert> character(s) at position <nPos> and concurrently deletes <nDelete> character(s) starting from <nStart> and beyond. Evidently, if <nDelete is 0 no character is deleted. Likewise if <cInsert> is null string "", nothing is inserted.

  • SubStr(<cString>, <nStart>, [<nCount>]) -> cSubstring
    returns a sub-string extracted from the string <cString>. <nStart> is the position of <cString> from which it'll start. <nCount> is the number of characters to be returned and if not given, all characters from <nStart> up to the end of <cString> will be returned.

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

Clone this wiki locally