Harbour Reference Guide   1

 

Document 1

License. 1

Compiler 1

API 1

Application.. 1

Array. 1

Classes. 1

Conversion.. 2

Database. 2

Date/Time. 3

Environment 3

Error 3

Events. 3

Execute and execution.. 3

FileSys. 3

Garbage collector 4

Hash table. 4

Idle states. 4

INET. 4

Internal 5

Language and Nation.. 5

Macro. 5

Math.. 5

Objects. 5

RDD.. 5

Strings. 5

Terminal 6

User interface. 6

Variable management 6

C level API 7

Date/Time. 7

Environment 7

Error 7

Extend. 8

FileSys. 10

Idle states. 10

Item.. 10

Macro. 11

Math.. 11

RDD.. 11

Terminal 14

Virtual machine. 15

C level API compatability. 16

Error 16

Extend. 16

FileSys. 16

Fixed memory. 17

Item.. 17

Terminal 17

Undocumented. 17

Class. 18

Data. 18

Definition.. 18

Method. 18

Command. 18

Database. 18

Environment 18

FileSys. 19

Legacy. 19

Printer 19

RDD.. 19

User interface. 19

Variable management 19

Run time errors. 19

 

Harbour Reference Guide

1st document to read

A starters guide to Harbour

Description

Welcome to Harbour ==================

Clipper is a trademark of Computer Associates and will often be referred to as CA-Cl*pper within Harbour documents. Regardless of this variant, Clipper is recognized as Computer Associates' trademark.

Harbour is a free software compiler for the xBase superset language often referred to as Clipper (the language that is implemented by the compiler Clipper). The goal of the Harbour project is to produce a cross platform CA-Cl*pper compatible compiler.

The Harbour web site is at <URL:http://harbour-project.org/>. If you have any problems with this copy of Harbour please visit our web site and ensure that you are using the latest release.

If you have any questions about Harbour please be sure to read the FAQ <URL:http://harbour-project.org/faq/>. Also, please be sure to read the documentation that comes with Harbour, you should find it in the same directory in which you found this file.

If you are reading this file as part of a source distribution of harbour you probably want to start by reading dirstruc.txt because this is your map to the harbour source directories.

Harbour is a superset of Clipper and is backwards compatible with nearly 100% of all Clipper 5.2x or 5.3 code. Most Clipper S'87 code will also compile and run fine, but may require some modifications to run well.

Platform(s)

This is available on all platforms

Document

License

GNU License Gnu License File Part 1
GNU License.. Gnu License File Part 2
Harbour License Harbour License

Compiler

Command line utility Compiler Options
Compiler Options Compiler Options
Macro compiler Macro compiler
Strong Typing Compile-Time type checking
Harbour Extensions Harbour Extensions
OVERVIEW HARBOUR Read me
The Garbage Collector Readme for Harbour Garbage Collect Feature
The idle states Read me file for Idle States

API

Application

DO() Calls a procedure or a function
HB_PVALUE() Retrieves the value of an argument.
PCOUNT() Retrieves the number of arguments passed to a function.
PROCFILE() This function allways returns an empty string.
PROCLINE() Gets the line number of the current function on the stack.
PROCNAME() Gets the name of the current function on the stack

Array

AADD() Dynamically add an element to an array
ACLONE() Duplicate a multidimensional array
ACOPY() Copy elements from one array to another
ADEL() Delete an element form an array.
AEVAL() Evaluates the subscript element of an array
AFILL() Fill an array with a specified value
AINS() Insert a NIL value at an array subscript position.
ARRAY() Create an uninitialized array of specified length
ASCAN() Scan array elements for a specified condition
ASIZE() Adjust the size of an array
ASORT() Sort an array
ATAIL() Returns the rightmost element of an array

Classes

HBClass() HBClass() is used in the creation of all classes

Conversion

BIN2I() Convert signed short encoded bytes into Harbour numeric
BIN2L() Convert signed long encoded bytes into Harbour numeric
BIN2U() Convert unsigned long encoded bytes into Harbour numeric
BIN2W() Convert unsigned short encoded bytes into Harbour numeric
DESCEND() Inverts an expression of string, logical, date or numeric type.
I2BIN() Convert Harbour numeric into signed short encoded bytes
L2BIN() Convert Harbour numeric into signed long encoded bytes
U2BIN() Convert Harbour numeric into unsigned long encoded bytes
W2BIN() Convert Harbour numeric into unsigned short encoded bytes
WORD() Converts double to integer values.

Database

AFIELDS()* Fills referenced arrays with database field information
ALIAS() Returns the alias name of a work area
BOF() Test for the beggining-of-file condition
DBAPPEND() Appends a new record to a database file.
DBCLEARFILTER() Clears the current filter condiction in a work area
DBCLOSEALL() Close all open files in all work areas.
DBCLOSEAREA() Close a database file in a work area.
DBCOMMIT() Updates all index and database buffers for a given workarea
DBCOMMITALL() Flushes the memory buffer and performs a hard-disk write
DBCREATE() Creates an empty database from a array.
DBDELETE() Mark a record for deletion in a database.
DBF() Alias name of a work area
DBFILTER() Return the filter expression in a work area
DBGOBOTTOM() Moves the record pointer to the bottom of the database.
DBGOTO() Position the record pointer to a specific location.
DBGOTOP() Moves the record pointer to the top of the database.
DBRECALL() Recalls a record previousy marked for deletion.
DBRLOCK() This function locks the record based on identity
DBRLOCKLIST() This function return a list of locked records in the database work area
DBRUNLOCK() Unlocks a record based on its identifier
DBSEEK() Searches for a value based on an active index.
DBSELECTAREA() Change to another work area
DBSETDRIVER() Establishes the RDD name for the selected work area
DBSETFILTER() Establishes a filter condition for a work area.
DBSKIP() Moves the record pointer in the selected work area.
DBSTRUCT() Creates a multidimensional array of a database structure.
DBUNLOCK() Unlock a record or release a file lock
DBUNLOCKALL() Unlocks all records and releases all file locks in all work areas.
DBUSEAREA() Opens a work area and uses a database file.
DELETED() Tests the record's deletion flag.
EOF() Test for end-of-file condition.
FCOUNT() Counts the number of fields in an active database.
FIELDGET() Obtains the value of a specified field
FIELDNAME() Return the name of a field at a numeric field location.
FIELDPOS() Return the ordinal position of a field.
FIELDPUT() Set the value of a field variable
FLOCK() Locks a file
FOUND() Determine the success of a previous search operation.
HEADER() Return the length of a database file header
INDEXEXT() Returns the file extension of the index module used in an application
INDEXKEY() Yields the key expression of a specified index file.
INDEXORD() Returns the numeric position of the controlling index.
LASTREC() Returns the number of records in an active work area or database.
LUPDATE() Yields the date the database was last updated.
NETERR() Tests the success of a network function
ORDBAGEXT() Returns the Order Bag extension
ORDBAGNAME() Returns the Order Bag Name.
ORDCONDSET() Set the Condition and scope for an order
ORDCREATE() Create an Order in an Order Bag
ORDDESTROY() Remove an Order from an Order Bag
ORDFOR() Return the FOR expression of an Order
ORDKEY() Return the key expression of an Order
RECCOUNT() Counts the number of records in a database.
RECNO() Returns the current record number or identity.
RECSIZE() Returns the size of a single record in an active database.
RLOCK() Lock a record in a work area
SELECT() Returns the work area number for a specified alias.
USED() Checks whether a database is in use in a work area
__FLEDIT()* Filter a database structure array
__dbCopyStruct() Create a new database based on current database structure
__dbCopyXStruct() Copy current database structure into a definition file
__dbCreate() Create structure extended file or use one to create new file
__dbDelim() Copies the contents of a database to a delimited text file or appends the contents of a delimited text file to a database.
__dbSDF() Copies the contents of a database to an SDF text file or appends the contents of an SDF text file to a database.
__dbStructFilter() Filter a database structure array

Date/Time

CDOW() Converts a date to the day of week
CMONTH() Return the name of the month.
CTOD() Converts a character string to a date expression
DATE() Return the Current OS Date
DAY() Return the numeric day of the month.
DAYS() Convert elapsed seconds into days
DOW() Value for the day of week.
DTOC() Date to character conversion
DTOS() Date to string conversion
ELAPTIME() Calculates elapted time.
MONTH() Converts a date expression to a month value
SECONDS() Returns the number of elapsed seconds past midnight.
SECS() Return the number of seconds from the system date.
TIME() Returns the system time as a string
YEAR() Converts the year portion of a date into a numeric value

Environment

GETE() Obtains a system environmental setting.
GETENV() Obtains a system environmental setting.
HB_GETENV() Obtains a system environmental setting.
OS() Return the current operating system.
RUN Run an external program.
SET() Changes or evaluated enviromental settings
SETMODE() Change the video mode to a specified number of rows and columns
SETTYPEAHEAD() Sets the typeahead buffer to given size.
TONE() Sound a tone with a specified frequency and duration.
VERSION() Returns the HARBOUR Version or the Harbour/Compiler Version.
__RUN() Run an external program.
__SETCENTURY() Set the Current Century
hb_eol() Returns the newline character(s) to use with the current OS

Error

BREAK() Exits from a BEGIN SEQUENCE block
ERRORSYS() Install default error handler

Events

HB_SETKEYSAVE() Returns a copy of internal set-key list, optionally overwriting
HB_SetKeyCheck() Impliments common hot-key activation code
HB_SetKeyGet() Determine a set-key code block and condition-block
SETKEY() Assign an action block to a key
__QUIT() Terminates an application.
__SetFunction() Assign a character string to a function key
__WAIT() Stops the application until a key is pressed.

Execute and execution

DBEVAL() Performs a code block operation on the current Database
EVAL() Evaluate a code block

FileSys

ADIR() Fill pre-defined arrays with file/directory information
CURDIR() Returns the current OS directory name.
DIRCHANGE() Changes the directory
DIRREMOVE() Attempt to remove an directory
DISKSPACE() Get the amount of space available on a disk
FCLOSE() Closes an open file
FCREATE() Creates a file.
FERASE() Erase a file from disk
FERROR() Reports the error status of low-level file functions
FILE() Tests for the existence of file(s)
FOPEN() Open a file.
FREAD() Reads a specified number of bytes from a file.
FREADSTR() Reads a string from a file.
FRENAME() Renames a file
FSEEK() Positions the file pointer in a file.
FWRITE() Writes characters to a file.
HB_DISKSPACE() Get the amount of space available on a disk
HB_FEOF() Check for end-of-file.
ISDISK() Verify if a drive is ready
MAKEDIR() Create a new directory
__Dir()* Display listings of files

Garbage collector

HB_GCALL() Scans the memory and releases all garbage memory blocks.
hb_gcAlloc() Allocates memory that will be collected by the garbage collector.
hb_gcCollectAll() Scans all memory blocks and releases the garbage memory.
hb_gcFree() Releases the memory that was allocated with hb_gcAlloc().
hb_gcItemRef() Marks the memory to prevent deallocation by the garbage collector.

Hash table

HB_HALLOCATE() Preallocates a hash table
HB_HASH() Returns a hash table
HB_HAUTOADD() Sets the 'auto add' flag for the hash table
HB_HBINARY() Sets the 'binary' flag for the hash table
HB_HCASEMATCH() Sets the 'case match' flag for the hash table
HB_HCLONE() Creates a copy of a hash table
HB_HCOPY() Adds entries from the source hash table to the destination hash table
HB_HDEFAULT() Returns/sets a default value for a hash table.
HB_HDEL() Removes a key/value pair from a hash table
HB_HDELAT() Removes an entry from a hash table based on its index position
HB_HEVAL() Evaluate a code block across the contents of a hash table
HB_HFILL() Fills a hash table with a value
HB_HGET() Returns a hash value
HB_HGETDEF() Returns a hash value, or a default value if the key is not present
HB_HHASKEY() Determines whether a hash table has an entry with a give key
HB_HKEYAT() Gets a hash table key at a given position
HB_HKEYS() Returns an array of the keys of a hash table
HB_HMERGE() Merges a source hash table into a destination hash table
HB_HPAIRAT() Returns a two-dimensional array of a hash table entry key/value pair
HB_HPOS() Locates the index of a key within a hash table
HB_HSCAN() Scans a hash table
HB_HSET() Sets a hash value
HB_HSETAUTOADD() Sets the 'auto add' flag for the hash table
HB_HSETBINARY() Sets the 'binary' flag for the hash table
HB_HSETCASEMATCH() Sets the 'case match' flag for the hash table
HB_HSORT() Reorganizes the internal list of the hash table to be sorted
HB_HVALUEAT() Gets/sets a hash value at a given position
HB_HVALUES() Returns an array of the values of a hash table

Idle states

HB_IDLEADD() Adds the background task.
HB_IDLEDEL() Removes the background task from the list of tasks.
HB_IdleState() Evaluates a single background task and calls the garbage collector.

INET

HB_INETACCEPT Wait until a socket is ready
HB_INETADDRESS Get a remote server address
HB_INETCLEANUP Terminate Harbour INET support
HB_INETCLEARERROR Clear the socket error value
HB_INETCLEARPERIODCALLBACK Clear the periodic callback value of a socket
HB_INETCLEARTIMELIMIT Clear the time limit value of a socket
HB_INETCLEARTIMEOUT Clear the timeout value of a socket
HB_INETCLOSE Close an INET socket
HB_INETCONNECTIP Connect to a remote server by IP address
HB_INETCONNECT Connect a socket to a remote server by IP address or name
HB_INETCOUNT Get the number of bytes last read or sent
HB_INETCREATE Create an INET socket
HB_INETCRLF Get a CRLF sequence for internet protocols
HB_INETDATAREADY Get whether there is data ready in a socket
HB_INETDGRAMBIND Create a bound datagram socket
HB_INETDGRAMRECV Get data from a datagram socket
HB_INETDGRAMSEND Send data to a datagram socket
HB_INETDGRAM Create a datagram socket
HB_INETERRORCODE Get the last INET error code
HB_INETERRORDESC Get the last INET error code description
HB_INETFD ?
HB_INETGETALIAS Get an array of aliases of a server
HB_INETGETHOSTS Get an array of IP addresses of a host
HB_INETGETRCVBUFSIZE Get the socket receive buffer size
HB_INETGETSNDBUFSIZE Get the socket send buffer size
HB_INETINIT Activate Harbour INET support
HB_INETISSOCKET Get whether a variable is a socket
HB_INETPERIODCALLBACK Get or change the periodic callback value of a socket
HB_INETPORT Get the port a socket is bound to.
HB_INETRECVALL Read from a socket without blocking
HB_INETRECVLINE Read a line from a socket
HB_INETRECV Read from a socket
HB_INETRECVENDBLOCK Read a block from a socket
HB_INETSENDALL Send data through a socket with blocking
HB_INETSEND Sent data through a socket
HB_INETSERVER Create a socket bound to a port
HB_INETSETRCVBUFSIZE Set the receive buffer size of a socket
HB_INETSETSNDBUFSIZE Set the send buffer size of a socket
HB_INETSTATUS Get the status of a socket
HB_INETTIMELIMIT Get or change the time limit value of a socket
HB_INETTIMEOUT Get or change the timeout value of a socket

Internal

CLIPINIT() Initialize various Harbour sub-systems
__MVDBGINFO() This function returns the information about the variables for debugger
__SetHelpK() Set F1 as the default help key
__TextRestore() Restore console output settings as saved by __TextSave()
__TextSave() Redirect console output to printer or file and save old settings
__XHELP() Determines whether a Help() user defined function exists.

Language and Nation

HB_LANGERRMSG() Description of an error code using current language
HB_LANGMESSAGE() Returns international strings messages and errors
HB_LANGNAME() Return the name of the current language module in use
HB_LANGSELECT() Select a specific nation message module
HB_LANG_REQUEST()
HB_SETCODEPAGE() Select the active code page by language ID
HB_TRANSLATE() Translate a string from one code page to the other
ISAFFIRM() Checks if passed char is an affirmation char
ISNEGATIVE() Checks if passed char is a negation char.
Language and Nation MSG() Returns international strings messages.
hb_langDGetErrorDesc()
hb_langDGetItem()
hb_langDeRegister()
hb_langFind()
hb_langID()
hb_langName()
hb_langRegister()
hb_langSelect()
hb_langSelectID()

Macro

HB_SETMACRO() Enable/disable the macro compiler runtime features.

Math

ABS() Return the absolute value of a number.
EXP() Calculates the value of e raised to the passed power.
HB_MATHERBLOCK() Set/Get math error handling codeblock
HB_MATHERMODE() Set/Get math error handling mode
INT() Return the integer port of a numeric value.
LOG() Returns the natural logarithm of a number.
MAX() Returns the maximum of two numbers or dates.
MIN() Determines the minumum of two numbers or dates.
MOD() Return the modulus of two numbers.
ROUND() Rounds off a numeric expression.
SQRT() Calculates the square root of a number.

Objects

__ObjSetValueList() Set object with an array of DATA names and values
__objAddData() Add a DATA to an already existing class
__objAddInline() Add an INLINE to an already existing class
__objAddMethod() Add a METHOD to an already existing class
__objDelData() Delete a DATA (instance variable) from class
__objDelInline() Delete a METHOD INLINE from class
__objDelMethod() Delete a METHOD from class
__objDerivedFrom() Determine whether a class is derived from another class
__objGetMethodList() Return names of all METHOD for a given object
__objGetMsgList() Return names of all DATA or METHOD for a given object
__objGetValueList() Return an array of DATA names and values for a given object
__objHasData() Determine whether a symbol exist in object as DATA
__objHasMethod() Determine whether a symbol exist in object as METHOD
__objModInline() Modify (replace) an INLINE method in an already existing class
__objModMethod() Modify (replace) a METHOD in an already existing class

RDD

FIELDBLOCK() Return a code block that sets/gets a value for a given field
FIELDWBLOCK() Return a sets/gets code block for field in a given work area

Strings

ALLTRIM() Removes leading and trailing blank spaces from a string
ASC() Returns the ASCII value of a character
AT() Locates the position of a substring in a main string.
CHR() Converts an ASCII value to it character value
HARDCR() Replace all soft carriage returns with hard carriages returns.
HB_ANSITOOEM() Convert a windows Character to a Dos based character
HB_OEMTOANSI() Convert a DOS(OEM) Character to a WINDOWS (ANSI) based character
HB_VALTOSTR() Converts any scalar type to a string.
ISALPHA() Checks if leftmost character in a string is an alphabetic character
ISDIGIT() Checks if leftmost character is a digit character
ISLOWER() Checks if leftmost character is an lowercased letter.
ISUPPER() Checks if leftmost character is an uppercased letter.
LEFT() Extract the leftmost substring of a character expression
LOWER() Universally lowercases a character string expression.
LTRIM() Removes leading spaces from a string
MEMOREAD() Return the text file's contents as a character string
MEMOTRAN() Converts hard and soft carriage returns within strings.
MEMOWRIT() Write a memo field or character string to a text file on disk
PADC() Centers an expression for a given width
PADL() Left-justifies an expression for a given width
PADR() Right-justifies an expression for a given width
RAT() Searches for a substring from the right side of a string.
REPLICATE() Repeats a single character expression
RIGHT() Extract the rightmost substring of a character expression
RTRIM() Remove trailing spaces from a string.
SPACE() Returns a string of blank spaces
STR() Convert a numeric expression to a character string.
STRTRAN() Translate substring value with a main string
STRZERO() Convert a numeric expression to a character string, zero padded.
SUBSTR() Returns a substring from a main string
TRANSFORM() Formats a value based on a specific picture template.
TRIM() Remove trailing spaces from a string.
UPPER() Converts a character expression to uppercase format
VAL() Convert a number from a character type to numeric

Terminal

COL() Returns the current screen column position
DEVOUTPICT() Displays a value to a device using a picture template
MAXCOL() Returns the maximun number of columns in the current video mode
MAXROW() Returns the current screen row position
RESTORE SCREEN Restore screen image and coordinate from an internal buffer
ROW() Returns the current screen row position
SAVE SCREEN Save whole screen image and coordinate to an internal buffer
__TYPEFILE() Show the content of a file on the console and/or printer
hb_ColorIndex() Extract one color from a full colorspec string.

User interface

ACHOICE() Allows selection of an element from an array
ALERT() Display a dialog box with a message
BROWSE() Browse a database file
DBEDIT()* Browse records in a table
HB_KEYPUT() Put an inkey code to the keyboard buffer.
INKEY() Extracts the next key code from the Harbour keyboard buffer.
LASTKEY() Get the last key extracted from the keyboard buffer.
MCOL() Returns the mouse cursor column position.
MENU TO Invoked a menu defined by set of @...PROMPT
MROW() Returns the mouse cursor row position.
NEXTKEY() Get the next key code in the buffer without extracting it.
OUTERR() Write a list of values to the standard error device
OUTSTD() Write a list of values to the standard output device
READKEY()* Determine which key terminated a READ.
READVAR() Return variable name of current GET or MENU
TBrowseDB() Create a new TBrowse object to be used with database file
__AtPrompt() Display a menu item on screen and define a message
__INPUT() Stops application
__KEYBOARD() DO NOT CALL THIS FUNCTION DIRECTLY!
__MenuTo() Invoked a menu defined by set of @...PROMPT
__NONOALERT() Override //NOALERT command line switch
__XRestScreen() Restore screen image and coordinate from an internal buffer
__XSaveScreen() Save whole screen image and coordinate to an internal buffer
dbSkipper() Helper function to skip a database

Variable management

EMPTY() Checks if the passed argument is empty.
HB_ISBYREF() Determine if a variable is passed by reference.
LEN() Returns size of a string or size of an array.
MEMVARBLOCK() Returns a codeblock that sets/gets a value of memvar variable
TYPE() Retrieves the type of an expression
VALTYPE() Retrieves the data type of an expression
__MVCLEAR() This function releases all PRIVATE and PUBLIC variables
__MVEXIST() Determine if a given name is a PUBLIC or PRIVATE memory variable
__MVGET() This function returns value of memory variable
__MVPRIVATE() This function creates a PRIVATE variable
__MVPUBLIC() This function creates a PUBLIC variable
__MVPUT() This function set the value of memory variable
__MVRELEASE() This function releases PRIVATE variables
__MVSCOPE() If variable exists then returns its scope.
__MVXRELEASE() This function releases value stored in PRIVATE or PUBLIC variable

C level API

Date/Time

hb_dateCDOW()
hb_dateCMonth()
hb_dateDOW()
hb_dateDecStr()
hb_dateDecode()
hb_dateEncStr()
hb_dateEncode()
hb_dateFormat()
hb_dateSeconds()
hb_dateStrGet()
hb_dateStrPut()
hb_dateTimeStr() Get the current workstation time
hb_dateToday()

Environment

hb_setInitialize()
hb_setListenerAdd()
hb_setListenerNotify()
hb_setListenerRemove()
hb_setRelease()

Error

hb_errExit()
hb_errGetDescription()
hb_errGetFileName()
hb_errGetFlags()
hb_errGetGenCode()
hb_errGetOperation()
hb_errGetOsCode()
hb_errGetSeverity()
hb_errGetSubCode()
hb_errGetSubSystem()
hb_errGetTries()
hb_errInit()
hb_errInternal()
hb_errLaunch()
hb_errLaunchSubst()
hb_errNew()
hb_errPutArgs()
hb_errPutDescription()
hb_errPutFileName()
hb_errPutFlags()
hb_errPutGenCode()
hb_errPutOperation()
hb_errPutOsCode()
hb_errPutSeverity()
hb_errPutSubCode()
hb_errPutSubSystem()
hb_errPutTries()
hb_errRT_BASE()
hb_errRT_BASE_Ext1()
hb_errRT_BASE_Subst()
hb_errRT_BASE_SubstR()
hb_errRT_DBCMD()
hb_errRT_New()
hb_errRT_New_Subst()
hb_errRT_TERM()
hb_errRT_TOOLS()
hb_errRelease()
hb_errorHandler()

Extend

HB_ISSPACE()
HB_IS_ARRAY()
HB_IS_BLOCK()
HB_IS_BYREF()
HB_IS_DATE()
HB_IS_DOUBLE()
HB_IS_INTEGER()
HB_IS_LOGICAL()
HB_IS_LONG()
HB_IS_MEMO()
HB_IS_MEMVAR()
HB_IS_NIL()
HB_IS_NUMERIC()
HB_IS_OBJECT()
HB_IS_OF_TYPE()
HB_IS_POINTER()
HB_IS_STRING()
HB_IS_SYMBOL()
ISARRAY()
ISBLOCK() Not available in CA-Cl*pper.
ISBYREF() NOTE: Intentionally using a different method
ISCHAR()
ISDATE()
ISLOG()
ISMEMO()
ISNIL() NOTE: Intentionally using a different method
ISNUM()
ISOBJECT()
ISPOINTER() Not available in CA-Cl*pper.
hb_arrayAdd() Add a new item to the end of an array item
hb_arrayClone() Returns a duplicate of an existing array, including all nested items
hb_arrayCopy() Copy items from one array to another
hb_arrayCopyC() Copy a string into an array item
hb_arrayDel() Delete an array item, without changing length
hb_arrayEval() Execute a code-block for every element of an array item
hb_arrayFill() Fill an array with a given item
hb_arrayGet() Retrieves an item
hb_arrayGetC() Retrieves the string contained on an array element
hb_arrayGetCLen() Retrieves the string length contained on an array element
hb_arrayGetCPtr() Retrieves the string pointer on an array element
hb_arrayGetDL() Retrieves the date value contained in an array element, as a long integer
hb_arrayGetDS() Retrieves the date value contained in an array element
hb_arrayGetItemPtr() Returns pointer to specified element of the array
hb_arrayGetL() Retrieves the logical value contained on an array element
hb_arrayGetND() Retrieves the double value contained on an array element
hb_arrayGetNI() Retrieves the int value contained on an array element
hb_arrayGetNL() Retrieves the long numeric value contained on an array element
hb_arrayGetType() Retrieves the type of an array item
hb_arrayIns() Insert a nil item into an array, without changing the length
hb_arrayIsObject() Retrives if the array is an object
hb_arrayLast() Retrieve last item in an array
hb_arrayLen() Retrives the array len
hb_arrayNew() Creates a new array
hb_arrayRelease() Releases an array - don't call it - use ItemRelease() !!!
hb_arrayReleaseGarbage() Clear an array before releasing by the GC
hb_arrayScan() Scan an array for a given item, or until code-block item returns TRUE
hb_arraySet() Sets an array element
hb_arraySize() Sets the array total length
hb_arraySort() Sorts an array item
hb_clsIsClassRef() Classes.c - mark all class internals as used
hb_clsReleaseAll() Releases all defined classes
hb_cmdargARGC() Retrieve command line argument count
hb_cmdargARGV() Retrieve command line argument buffer pointer
hb_cmdargCheck() Check if a given internal switch (like //INFO) was set
hb_cmdargInit() Initialize command line argument API's
hb_cmdargIsInternal() Determine if a string is an internal setting
hb_cmdargNum() Returns the numeric value of an internal switch (like //F:90)
hb_cmdargProcessVM() Check for command line internal arguments
hb_cmdargString() Returns the string value of an internal switch (like //TEMPPATH:"C:\")
hb_codeblockCopy() Copy a codeblock
hb_codeblockDelete() Delete a codeblock
hb_codeblockDeleteGarbage() Clear a codeblock before releasing by the GC
hb_codeblockEvaluate() Evaluate a codeblock
hb_codeblockGetRef() Get local variable passed by reference
hb_codeblockGetVar() Get local variable referenced in a codeblock
hb_codeblockMacroNew()
hb_codeblockNew() Create a code-block
hb_compReservedName() Determines if a string contains a reserve word
hb_conInit() Initialize the console API system
hb_conNewLine() Retrieve a pointer to a static buffer containing new-line characters
hb_conOutErr() Output an string to STDERR
hb_conOutStd() Output an string to STDOUT
hb_conRelease() Release the console API system
hb_conSetColor() Retrieve and optionally set console color
hb_conSetCursor() Retrieve and optionally set cursor shape
hb_conXSaveRestRelease() Release the save/restore API
hb_dynsymEval() Enumerates all dynamic symbols
hb_dynsymFind() Finds a dynamic symbol
hb_dynsymFindName() Converts to uppercase and finds a dynamic symbol
hb_dynsymGet() Finds and creates a dynamic symbol if not found
hb_dynsymLog() Displays all dynamic symbols
hb_dynsymNew() Creates a new dynamic symbol based on a local one
hb_dynsymRelease() Releases the memory of the dynamic symbol table
hb_gcAlloc() Allocates a memory controlled by the garbage collector
hb_gcCollect() Checks if a single memory block can be released
hb_gcCollectAll() Checks if all memory blocks can be released
hb_gcFree() Deallocates a memory allocated by the garbage collector
hb_gcItemRef() Checks if passed item refers passed memory block pointer
hb_gcLock() Do not release passed memory block
hb_gcLockItem() Do not release a memory block stored inside an item
hb_gcUnlock() Passed block is allowed to be released
hb_gcUnlockItem() Allow to release the item
hb_idleReset() Services a single idle state
hb_idleShutDown() Closes all background tasks
hb_idleState() Services a single idle state
hb_macroCompile() Compile a string and return a pcode buffer
hb_macroDelete() Release all memory allocated for macro evaluation
hb_macroGetType() Determine the type of an expression
hb_macroGetValue() Retrieve results of a macro expansion
hb_macroIsIdent() Determine if a string is a valid function or variable name
hb_macroPopAliasedValue() Compiles and evaluates an aliased macro expression
hb_macroPushAliasedValue() Compiles and evaluates an aliased macro expression
hb_macroPushSymbol() Handle a macro function calls, e.g. var := &macro()
hb_macroRun() Executes pcode compiled by macro compiler
hb_macroSetValue() Assign a value to a macro-expression item
hb_macroTextSubst() Substitute macro variables occurences within a given string
hb_macroTextValue() Macro text substitution
hb_memvarCreateFromItem()
hb_memvarGet() Copy an symbol value into an item
hb_memvarGetPrivatesBase() Retrieve current PRIVATE variables stack base
hb_memvarGetRefer() Copy a reference to a symbol value into an item, with error trapping
hb_memvarGetStrValuePtr()
hb_memvarGetValue() Copy an symbol value into an item, with error trapping
hb_memvarNewParameter()
hb_memvarScope() Retrieve scope of a dynamic variable symbol
hb_memvarSetPrivatesBase() Release PRIVATE variables created after specified base
hb_memvarSetValue() Copy an item into a symbol
hb_memvarValueBaseAddress() Retrieve the base address of the values table
hb_memvarValueDecRef() Decrease the reference count of a global value
hb_memvarValueIncRef() Increase the reference count of a global value
hb_memvarValueNew() Create a new global value
hb_memvarsFree() Release the memvar API system
hb_memvarsInit() Initialize the memvar API system
hb_memvarsIsMemvarRef() Memvars.c - mark all memvar variables as used
hb_memvarsRelease() Clear all PUBLIC and PRIVATE variables
hb_numRound() Round a number to a specific number of digits
hb_objGetClsName() Retrieves an object class name
hb_objGetMethod() Returns the method pointer of a object class
hb_objHasMsg() Returns TRUE/FALSE whether szString is an existing message for object
hb_param() Retrieve a direct pointer to an item parameter
hb_parc() Retrieve a string parameter
hb_parclen() Retrieve a string parameter length
hb_parcsiz() Retrieve a by-reference string parameter length, including terminator
hb_pards() Retrieve a date as a string yyyymmdd
hb_pardsbuff() Retrieve a date as a string yyyymmdd
hb_parinfa() Retrieve length or element type of an array parameter
hb_parinfo() Determine the param count or data type
hb_parl() Retrieve a logical parameter as an int
hb_parnd() Retrieve a numeric parameter as a double
hb_parni() Retrieve a numeric parameter as a integer
hb_parnl() Retrieve a numeric parameter as a long
hb_pcount() Returns the number of supplied parameters
hb_procname() Retrieve a procedure name into a buffer
hb_ret() Post a NIL return value
hb_reta() Returns an array with a specific length
hb_retc() Returns a string
hb_retclen() Returns a string with a specific length
hb_retd() Returns a date
hb_retdl() Returns a long value as a julian date
hb_retds() Returns a date, must use yyyymmdd format
hb_retl() Returns a logical integer
hb_retnd() Returns a double
hb_retndlen() Returns a double, with specific width and decimals
hb_retni() Returns a integer number
hb_retnilen() Returns a integer number, with specific width
hb_retnl() Returns a long number
hb_retnlen() Returns a double, with specific width and decimals
hb_retnllen() Returns a long number, with specific width
hb_storc() Stores a szString on a variable by reference
hb_storclen() Stores a fixed length string on a variable by reference
hb_stords() SzDate must have yyyymmdd format
hb_storl() Stores a logical integer on a variable by reference
hb_stornd() Stores a double on a variable by reference
hb_storni() Stores an integer on a variable by reference
hb_stornl() Stores a long on a variable by reference
hb_strAt() Returns an index to a sub-string within another string
hb_strDescend() Copy a string to a buffer, inverting each character
hb_strEmpty() Returns whether a string contains only white space
hb_strLTrim() Return a pointer to the first non-white space character
hb_strLower() Convert an existing string buffer to lower case
hb_strMatchRegExp() Compare two strings using a regular expression pattern
hb_strRTrimLen() Return length of a string, ignoring trailing white space (or true spaces)
hb_strUpper() Convert an existing string buffer to upper case
hb_strVal() Return the numeric value of a character string representation of a number
hb_strdup() Returns a pointer to a newly allocated copy of the source string
hb_stricmp() Compare two strings without regards to case
hb_strncpyUpper() Copy an existing string buffer to another buffer, as upper case
hb_strnicmp() Compare two string without regards to case, limited by length
hb_strupr() Convert a string in-place to upper-case
hb_symbolNew() Create a new symbol
hb_verBuildInfo() Display harbour, compiler, and platform versions to standard console
hb_verCompiler() Retrieves a newly allocated buffer containing compiler version
hb_verHarbour() Retrieves a newly allocated buffer containing harbour version
hb_verPlatform() Retrieves a newly allocated buffer containing platform version
hb_vmIsLocalRef() Hvm.c - mark all local variables as used
hb_vmIsStaticRef() Hvm.c - mark all static variables as used
hb_xalloc() Allocates memory, returns NULL on failure
hb_xexit() Deinitialize fixed memory subsystem
hb_xfree() Frees memory
hb_xgrab() Allocates memory, exits on failure
hb_xinit() Initialize fixed memory subsystem
hb_xmemcpy() Copy more than memcpy() can
hb_xmemset() Set more than memset() can
hb_xquery() Query different types of memory information
hb_xrealloc() Reallocates memory
hb_xsize() Returns the size of an allocated memory block

FileSys

hb_fsChDir() Change working directory
hb_fsChDrv() Change working drive
hb_fsClose() Close a file
hb_fsCommit() Commit updates of a file
hb_fsCreate() Create a file
hb_fsCreateTemp() Create a temporary file from components
hb_fsCurDir() Retrieve a static pointer containing current directory for specified drive
hb_fsCurDirBuff() Copy current directory for given drive into a buffer
hb_fsCurDrv() Retrieve current drive number
hb_fsDelete() Delete a file
hb_fsEof() Determine if an open file is position at end-of-file
hb_fsError() Retrieve file system error
hb_fsExtOpen() Open a file using default extension and a list of paths
hb_fsFLock()
hb_fsFNameMerge() This function joins path, name and extension into a string with a filename
hb_fsFNameSplit() Split given filename into path, name and extension
hb_fsFSize() Determine the size of a file
hb_fsFUnlock()
hb_fsFile() Determine if a file exists
hb_fsIsDevice() Determine if a file is attached to a device (console?)
hb_fsIsDrv() Determine if a drive number is a valid drive
hb_fsLock() Request a lock on a portion of a file
hb_fsMkDir() Create a directory
hb_fsOpen() Open a file
hb_fsRead() Read contents of a file into a buffer (<=64K)
hb_fsReadLarge() Read contents of a file into a buffer (>64K)
hb_fsRename() Rename a file
hb_fsRmDir() Remove a directory
hb_fsSeekLarge() Reposition an open file
hb_fsSetDevMode() Change the device mode of a file (text/binary)
hb_fsSetDevRaw() Change the device mode of a file to raw (binary)
hb_fsSetDevText() Change the device mode of a file to text
hb_fsSetError() Set the file system error number
hb_fsTell() Retrieve the current position of a file
hb_fsTempName() Create a temporary file name in a buffer
hb_fsWrite() Write to an open file from a buffer (<=64K)
hb_fsWriteLarge() Write to an open file from a buffer (>64K)

Idle states

hb_idleState() Evaluates a single background task and calls the garbage collector.

Item

hb_evalLaunch()
hb_evalNew()
hb_evalPutParam()
hb_evalRelease()
hb_itemArrayGet()
hb_itemArrayNew()
hb_itemArrayPut()
hb_itemClear()
hb_itemCopy() Copies an item to one place to another respecting its containts
hb_itemCopyC()
hb_itemDo()
hb_itemDoC()
hb_itemFreeC()
hb_itemGetC()
hb_itemGetCLen()
hb_itemGetCPtr()
hb_itemGetDL()
hb_itemGetDS()
hb_itemGetL()
hb_itemGetND()
hb_itemGetNI()
hb_itemGetNL()
hb_itemGetNLen()
hb_itemGetPtr()
hb_itemInit()
hb_itemNew()
hb_itemPCount()
hb_itemPadConv()
hb_itemParam() Creates a copy of an item parameter (outside the eval stack)
hb_itemParamPtr()
hb_itemPutC()
hb_itemPutCL()
hb_itemPutCLPtr()
hb_itemPutCPtr()
hb_itemPutD()
hb_itemPutDL()
hb_itemPutDS()
hb_itemPutL()
hb_itemPutND()
hb_itemPutNDLen()
hb_itemPutNI()
hb_itemPutNILen()
hb_itemPutNL()
hb_itemPutNLLen()
hb_itemPutNLen()
hb_itemPutPtr()
hb_itemRelease()
hb_itemReturn()
hb_itemReturnPtr()
hb_itemSetCMemo()
hb_itemSize()
hb_itemStr() Convert a number to a string
hb_itemStrCmp() Our string compare
hb_itemString() Convert any scalar to a string
hb_itemSwap()
hb_itemType()
hb_itemTypeStr()
hb_itemUnRef() De-references passed variable
hb_itemValToStr() Convert any scalar to a string

Macro

hb_compCodeBlockEnd()
hb_compCodeBlockStart()
hb_compGenJump()
hb_compGenJumpFalse()
hb_compGenJumpHere()
hb_compGenJumpThere()
hb_compGenJumpTrue()
hb_compGenMessage()
hb_compGenMessageData()
hb_compGenPCode1()
hb_compGenPCode2()
hb_compGenPCode3()
hb_compGenPCode4()
hb_compGenPCodeN()
hb_compGenPopAliasedVar()
hb_compGenPopVar()
hb_compGenPushAliasedVar()
hb_compGenPushDouble()
hb_compGenPushFunCall()
hb_compGenPushLogical()
hb_compGenPushLong()
hb_compGenPushString()
hb_compGenPushSymbol()
hb_compGenPushVar()
hb_compGenPushVarRef()
hb_compLocalVarGetPos()
hb_compMemvarGenPCode()
hb_macroError()
hb_macroYYParse()

Math

hb_mathGetErrMode() get math error handling mode
hb_mathGetHandler() get current Harbour math error handler
hb_mathGetLastError() get the last math lib error
hb_mathIsMathErr() Check if harbour math error handling is available
hb_mathResetError() Reset the internal math error information structure
hb_mathSetErrMode() set math error handling mode
hb_mathSetHandler() set the harbour math handler

RDD

SELF_ADDFIELD()
SELF_ALIAS()
SELF_APPEND()
SELF_BOF()
SELF_CHILDEND()
SELF_CHILDSTART()
SELF_CHILDSYNC()
SELF_CLEARFILTER()
SELF_CLEARLOCATE()
SELF_CLEARREL()
SELF_CLEARSCOPE()
SELF_CLOSE()
SELF_CLOSEMEMFILE()
SELF_COMPILE()
SELF_COUNTSCOPE()
SELF_CREATE()
SELF_CREATEFIELDS()
SELF_CREATEMEMFILE()
SELF_DBEVAL()
SELF_DELETE()
SELF_DELETED()
SELF_EOF()
SELF_ERROR()
SELF_EVALBLOCK()
SELF_FIELDCOUNT()
SELF_FIELDDISPLAY()
SELF_FIELDINFO()
SELF_FIELDNAME()
SELF_FILTERTEXT()
SELF_FLUSH()
SELF_FORCEREL()
SELF_FOUND()
SELF_GETDELIM()
SELF_GETLOCKS()
SELF_GETREC()
SELF_GETVALUE()
SELF_GETVALUEFILE()
SELF_GETVARLEN()
SELF_GOBOTTOM()
SELF_GOCOLD()
SELF_GOHOT()
SELF_GOTO()
SELF_GOTOID()
SELF_GOTOP()
SELF_HEADERSIZE()
SELF_INFO()
SELF_LOCK()
SELF_LUPDATE()
SELF_NEW()
SELF_OPEN()
SELF_OPENMEMFILE()
SELF_ORDBAGEXT()
SELF_ORDBAGNAME()
SELF_ORDCOND()
SELF_ORDCREATE()
SELF_ORDDESTROY()
SELF_ORDEXPR()
SELF_ORDINFO()
SELF_ORDLSTADD()
SELF_ORDLSTCLEAR()
SELF_ORDLSTDELETE()
SELF_ORDLSTFOCUS()
SELF_ORDLSTREBUILD()
SELF_ORDNAME()
SELF_ORDNUMBER()
SELF_ORDPOS()
SELF_ORDRECNO()
SELF_ORDSETCOND()
SELF_PACK()
SELF_PACKREC()
SELF_PUTREC()
SELF_PUTVALUE()
SELF_PUTVALUEFILE()
SELF_RAWLOCK()
SELF_READDBHEADER()
SELF_RECALL()
SELF_RECCOUNT()
SELF_RECINFO()
SELF_RECNO()
SELF_RECSIZE()
SELF_RELAREA()
SELF_RELEASE()
SELF_RELEVAL()
SELF_RELTEXT()
SELF_SCOPEINFO()
SELF_SEEK()
SELF_SETDELIM()
SELF_SETFIELDEXTENT()
SELF_SETFILTER()
SELF_SETLOCATE()
SELF_SETREL()
SELF_SETSCOPE()
SELF_SKIP()
SELF_SKIPFILTER()
SELF_SKIPRAW()
SELF_SKIPSCOPE()
SELF_SORT()
SELF_STRUCTSIZE()
SELF_SYNCCHILDREN()
SELF_SYSNAME()
SELF_TABLEEXT()
SELF_TRANS()
SELF_TRANSREC()
SELF_UNLOCK()
SELF_WRITEDBHEADER()
SELF_ZAP()
SUPER_ADDFIELD()
SUPER_ALIAS()
SUPER_APPEND()
SUPER_BOF()
SUPER_CHILDEND()
SUPER_CHILDSTART()
SUPER_CHILDSYNC()
SUPER_CLEARFILTER()
SUPER_CLEARLOCATE()
SUPER_CLEARREL()
SUPER_CLEARSCOPE()
SUPER_CLOSE()
SUPER_CLOSEMEMFILE()
SUPER_COMPILE()
SUPER_COUNTSCOPE()
SUPER_CREATE()
SUPER_CREATEFIELDS()
SUPER_CREATEMEMFILE()
SUPER_DBEVAL()
SUPER_DELETE()
SUPER_DELETED()
SUPER_EOF()
SUPER_ERROR()
SUPER_EVALBLOCK()
SUPER_FIELDCOUNT()
SUPER_FIELDDISPLAY()
SUPER_FIELDINFO()
SUPER_FIELDNAME()
SUPER_FILTERTEXT()
SUPER_FLUSH()
SUPER_FORCEREL()
SUPER_FOUND()
SUPER_GETDELIM()
SUPER_GETLOCKS()
SUPER_GETREC()
SUPER_GETVALUE()
SUPER_GETVALUEFILE()
SUPER_GETVARLEN()
SUPER_GOBOTTOM()
SUPER_GOCOLD()
SUPER_GOHOT()
SUPER_GOTO()
SUPER_GOTOID()
SUPER_GOTOP()
SUPER_HEADERSIZE()
SUPER_INFO()
SUPER_LOCK()
SUPER_LUPDATE()
SUPER_NEW()
SUPER_OPEN()
SUPER_OPENMEMFILE()
SUPER_ORDBAGEXT()
SUPER_ORDBAGNAME()
SUPER_ORDCOND()
SUPER_ORDCREATE()
SUPER_ORDDELETE()
SUPER_ORDEXPR()
SUPER_ORDINFO()
SUPER_ORDLSTADD()
SUPER_ORDLSTCLEAR()
SUPER_ORDLSTDELETE()
SUPER_ORDLSTFOCUS()
SUPER_ORDLSTREBUILD()
SUPER_ORDNAME()
SUPER_ORDNUMBER()
SUPER_ORDPOS()
SUPER_ORDRECNO()
SUPER_ORDSETCOND()
SUPER_PACK()
SUPER_PACKREC()
SUPER_PUTREC()
SUPER_PUTVALUE()
SUPER_PUTVALUEFILE()
SUPER_RAWLOCK()
SUPER_READDBHEADER()
SUPER_RECALL()
SUPER_RECCOUNT()
SUPER_RECINFO()
SUPER_RECNO()
SUPER_RECSIZE()
SUPER_RELAREA()
SUPER_RELEASE()
SUPER_RELEVAL()
SUPER_RELTEXT()
SUPER_SCOPEINFO()
SUPER_SEEK()
SUPER_SETDELIM()
SUPER_SETFIELDEXTENT()
SUPER_SETFILTER()
SUPER_SETLOCATE()
SUPER_SETREL()
SUPER_SETSCOPE()
SUPER_SKIP()
SUPER_SKIPFILTER()
SUPER_SKIPRAW()
SUPER_SKIPSCOPE()
SUPER_SORT()
SUPER_STRUCTSIZE()
SUPER_SYNCCHILDREN()
SUPER_SYSNAME()
SUPER_TABLEEXT()
SUPER_TRANS()
SUPER_TRANSREC()
SUPER_UNLOCK()
SUPER_WRITEDBHEADER()
SUPER_ZAP()
hb_rddDisinherit()
hb_rddExtendType()
hb_rddFieldGet()
hb_rddFieldPut()
hb_rddFieldType()
hb_rddGetCurrentWorkAreaNumber()
hb_rddGetCurrentWorkAreaPointer()
hb_rddGetFieldValue()
hb_rddInherit()
hb_rddInsertAreaNode()
hb_rddPutFieldValue()
hb_rddSelectWorkAreaAlias()
hb_rddSelectWorkAreaNumber()
hb_rddSelectWorkAreaSymbol()
hb_rddShutDown()

Terminal

hb_gtAdjustPos()
hb_gtBeginWrite()
hb_gtBox()
hb_gtBoxD()
hb_gtBoxS()
hb_gtColorSelect()
hb_gtColorToN()
hb_gtDispBegin()
hb_gtDispCount()
hb_gtDispEnd()
hb_gtDrawShadow()
hb_gtEndWrite()
hb_gtExit()
hb_gtFlushCursor()
hb_gtGetBlink()
hb_gtGetColor()
hb_gtGetColorStr()
hb_gtGetCursor()
hb_gtGetPos()
hb_gtInit()
hb_gtIsColor()
hb_gtMaxCol()
hb_gtMaxRow()
hb_gtModalRead()
hb_gtPostExt()
hb_gtPreExt()
hb_gtReadKey()
hb_gtRectSize()
hb_gtRepChar()
hb_gtRest()
hb_gtResume() Resume the terminal after the shell output
hb_gtSLR() System Level Request
hb_gtSave()
hb_gtScrDim()
hb_gtScroll()
hb_gtSetBlink()
hb_gtSetBorder()
hb_gtSetColor()
hb_gtSetColorStr()
hb_gtSetCursor()
hb_gtSetMode()
hb_gtSetPos()
hb_gtSetPosContext()
hb_gtSetSnowFlag()
hb_gtSuspend() Prepare the reminal for shell output
hb_gtTone()
hb_gtVersion()
hb_gtWApp()
hb_gtWCreate()
hb_gtWCurrent()
hb_gtWDestroy()
hb_gtWFlash()
hb_gtWPos()
hb_gtWVis()
hb_gtWrite()
hb_gtWriteAt()
hb_gtWriteCon()
hb_gt_AdjustPos()
hb_gt_Box()
hb_gt_BoxD()
hb_gt_BoxS()
hb_gt_Col()
hb_gt_DispBegin()
hb_gt_DispCount()
hb_gt_DispEnd()
hb_gt_Exit()
hb_gt_GetBlink()
hb_gt_GetCursorStyle()
hb_gt_GetScreenHeight()
hb_gt_GetScreenWidth()
hb_gt_GetText()
hb_gt_HorizLine()
hb_gt_Init()
hb_gt_IsColor()
hb_gt_PostExt()
hb_gt_PreExt()
hb_gt_PutText()
hb_gt_Puts()
hb_gt_ReadKey()
hb_gt_RectSize()
hb_gt_Replicate()
hb_gt_Resume() Resume the terminal after the shell call
hb_gt_Row()
hb_gt_Scroll()
hb_gt_SetAttribute()
hb_gt_SetBlink()
hb_gt_SetCursorStyle()
hb_gt_SetMode()
hb_gt_SetPos()
hb_gt_Suspend() Suspend the terminal before the shell call
hb_gt_Tone()
hb_gt_Version()
hb_gt_VertLine()
hb_inkey() Wait for keyboard input
hb_inkeyGet() Extract the next key from the Harbour keyboard buffer
hb_inkeyLast() Return the value of the last key that was extracted
hb_inkeyNext() Return the next key without extracting it
hb_inkeyPoll() Poll the console keyboard to stuff the Harbour buffer
hb_inkeyPut() Inserts an inkey code into the keyboard buffer
hb_inkeyReset() Reset the Harbour keyboard buffer
hb_mouseCol()
hb_mouseCountButton()
hb_mouseGetBounds()
hb_mouseGetCursor()
hb_mouseIsButtonPressed()
hb_mouseIsPresent()
hb_mouseRow()
hb_mouseSetBounds()
hb_mouseSetCursor()
hb_mouseSetPos()
hb_mouse_Col()
hb_mouse_CountButton()
hb_mouse_Exit()
hb_mouse_GetBounds()
hb_mouse_Hide()
hb_mouse_Init()
hb_mouse_IsButtonPressed()
hb_mouse_IsPresent()
hb_mouse_Row()
hb_mouse_SetBounds()
hb_mouse_SetPos()
hb_mouse_Show()
hb_setkeyExit()
hb_setkeyInit()

Virtual machine

hb_stackDispCall()
hb_stackPop() Pops an item from the stack
hb_vmDo() Invoke the virtual machine
hb_vmEvalBlock() Executes passed codeblock with no arguments
hb_vmEvalBlockV()
hb_vmExecute() Invokes the virtual machine
hb_vmFunction() Executes a function saving its result
hb_vmInit()
hb_vmMessage() Sends a message to an object
hb_vmProcessSymbols() Statics symbols initialization
hb_vmPush() Pushes a generic item onto the stack
hb_vmPushDate() Pushes a long date onto the stack
hb_vmPushDouble() Pushes a double number onto the stack
hb_vmPushInteger() Pushes a integer number onto the stack
hb_vmPushLogical() Pushes a logical value onto the stack
hb_vmPushLong() Pushes a long number onto the stack
hb_vmPushNil() In this case it places nil at self
hb_vmPushNumber() Pushes a number on to the stack and decides if it is integer, long or double
hb_vmPushPointer() Push an item of HB_IT_POINTER type
hb_vmPushString() Pushes a string on to the stack
hb_vmPushSymbol() Pushes a function pointer onto the stack
hb_vmQuit() Immediately quits the virtual machine
hb_vmRequestBreak()
hb_vmRequestCancel()
hb_vmRequestEndProc()
hb_vmRequestQuery()
hb_vmRequestQuit()
hb_vmSend() Sends a message to an object
hb_vmSymbolInit_RT() Initialization of runtime support symbols

C level API compatability

Error

_errGetDescription()
_errGetFileName()
_errGetFlags()
_errGetGenCode()
_errGetOperation()
_errGetOsCode()
_errGetSeverity()
_errGetSubCode()
_errGetSubSystem()
_errGetTries()
_errLaunch()
_errNew()
_errPutDescription()
_errPutFileName()
_errPutFlags()
_errPutGenCode()
_errPutOperation()
_errPutOsCode()
_errPutSeverity()
_errPutSubCode()
_errPutSubSystem()
_errPutTries()
_errRelease()

Extend

ALENGTH
_parc()
_parclen()
_parcsiz()
_pards()
_parinfa()
_parinfo()
_parl()
_parnd()
_parni()
_parnl()
_ret()
_retc()
_retclen()
_retds()
_retl()
_retnd()
_retni()
_retnl()
_storc()
_storclen()
_stords()
_storl()
_stornd()
_storni()
_stornl()

FileSys

_fsChDir()
_fsChDrv()
_fsClose()
_fsCommit()
_fsCreate()
_fsCurDir()
_fsCurDrv()
_fsDelete()
_fsError()
_fsExtOpen()
_fsIsDrv()
_fsLock()
_fsMkDir()
_fsOpen()
_fsRead()
_fsRename()
_fsRmDir()
_fsSeek()
_fsWrite()

Fixed memory

_exmgrab()
_xalloc()
_xfree()
_xgrab()

Item

_evalLaunch()
_evalNew()
_evalPutParam()
_evalRelease()
_itemArrayGet()
_itemArrayNew()
_itemArrayPut()
_itemNew()
_itemParam()
_itemRelease()
_itemReturn()
_itemSize()
_itemType()

Terminal

_gtBeginWrite()
_gtBox()
_gtColorSelect()
_gtDispBegin()
_gtDispCount()
_gtDispEnd()
_gtEndWrite()
_gtExit()
_gtFlushCursor()
_gtGetColor()
_gtGetColorStr()
_gtGetCursor()
_gtGetPos()
_gtInit()
_gtIsColor()
_gtMaxCol()
_gtMaxRow()
_gtModalRead()
_gtPostExt()
_gtPreExt()
_gtRectSize()
_gtRepChar()
_gtRest()
_gtSave()
_gtScrDim()
_gtScroll()
_gtSetBlink()
_gtSetBorder()
_gtSetColor()
_gtSetColorStr()
_gtSetCursor()
_gtSetMode()
_gtSetPos()
_gtSetSnowFlag()
_gtWApp()
_gtWCreate()
_gtWCurrent()
_gtWDestroy()
_gtWFlash()
_gtWPos()
_gtWVis()
_gtWrite()
_gtWriteAt()
_gtWriteCon()

Undocumented

_bcmp()
_bcopy()
_bmove()
_bset()
_pcount()
_reta()
_tchdir()
_tchdrv()
_tclose()
_tcommit()
_tcreat()
_tcurdir()
_tcurdrv()
_tdevraw()
_terror()
_tisdevice()
_tisdrv()
_tlock()
_tlseek()
_tmkdir()
_topen()
_tread()
_trename()
_trmdir()
_tunlink()
_twrite()

Class

Data

CLASSDATA Define a CLASSDATA variable for a class (NOT for an Object!)
DATA Alternate syntax for VAR: instance variable for the objects.

Definition

CLASS Define a Class for Object Oriented Programming
ENDCLASS End the declaration of a class.

Method

ERROR HANDLER Designate a method as an error handler for the class
MESSAGE Route a method call to another Method
METHOD Declare a METHOD for a class in the class header
ON ERROR Designate a method as an error handler for the class

Command

Database

COPY STRUCTURE Create a new database based on current database structure
COPY STRUCTURE EXTENDED Copy current database structure into a definition file
CREATE Create empty structure extended file
CREATE FROM Create new database file from a structure extended file
PACK Remove records marked for deletion from a database
ZAP Remove all records from the current database file

Environment

SET ALTERNATE Toggle and echos output to an alternate file
SET BELL Toggle the bell to sound once a GET has been completed.
SET CENTURY Toggle the century digits in all dates display
SET CONSOLE Toggle the console display
SET DATE Assigns a date format or chooses a predefined date data set.
SET DECIMALS Toggle the console display
SET DEFAULT Establishes the Harbour search drive and directory.
SET DEVICE Directs all @...SAY output to a device.
SET EPOCH Specify a base year for interpreting dates
SET FIXED Set the number of decimal position to be displayed
SET FUNCTION Assign a character string to a function key
SET INTENSITY Toggles the enhaced display of PROMPT's and GETs.
SET KEY Assign an action block to a key
SET MESSAGE Extablishes a message row for @...PROMPT command
SET PATH Specifies a search path for opening files
SET PRINTER Toggles the printer and controls the printer device
SET WRAP Toggle wrapping the PROMPTs in a menu.

FileSys

COPY FILE Copies a file.
DELETE FILE Remove a file from disk
DIR Display listings of files
ERASE Remove a file from disk
RENAME Changes the name of a specified file
TYPE Show the content of a file on the console, printer or file

Legacy

LABEL FORM Displays labels to the screen or an alternate device
REPORT FORM Display a report

Printer

EJECT Issue an command to advance the printer to the top of the form

RDD

FIELD Declares a list of database field names.

User interface

@...Get Creates a GET object and displays it to the screen
@...PROMPT Display a menu item on screen and define a message
@...SAY Displays data at specified coordinates of the current device.
KEYBOARD Stuffs the keyboard with a string.

Variable management

LOCAL Initializes a local memory variable or array
MEMVAR Declares private and public variables and arrays.

Run time errors

BASE/1003 Attempt to access nonexisting or hidden variable
BASE/1068 Invalid type of argument
BASE/1068 Bound error in array element assigment
BASE/1068 Bound error in array access
BASE/1069 Bound error in array access
BASE/1072 Invalid type of arguments
BASE/1073 Invalid type of arguments
BASE/1074 Invalid type of arguments
BASE/1075 Invalid type of arguments
BASE/1076 Invalid type of arguments
BASE/1076 Invalid type of arguments
BASE/1076 Invalid type of arguments
BASE/1077 Invalid type of arguments
BASE/1078 Invalid type of arguments
BASE/1078 Invalid type of arguments
BASE/1079 Invalid type of arguments
BASE/1081 Invalid type of arguments
BASE/1082 Invalid type of arguments
BASE/1085 Invalid argument passed to function
BASE/1089 Invalid argument passed to function
BASE/1090 Invalid argument passed to function
BASE/1092 Invalid argument passed to function
BASE/1093 Invalid argument passed to function
BASE/1094 Invalid argument passed to function
BASE/1095 Invalid argument passed to function
BASE/1096 Invalid argument passed to function
BASE/1097 Invalid argument passed to function
BASE/1098 Invalid argument passed to function
BASE/1099 Invalid argument passed to function
BASE/1100 Incorrect type of argument
BASE/1101 Incorrect type of argument
BASE/1102 Invalid argument passed to function
BASE/1103 Invalid argument passed to function
BASE/1104 Incorrect type of argument
BASE/1105 Invalid argument passed to function
BASE/1106 Invalid argument passed to function
BASE/1107 Incorrect type of argument
BASE/1108 Incorrect type of argument
BASE/1110 Invalid argument passed to function
BASE/1110 Invalid argument passed to function
BASE/1112 Invalid argument passed to function
BASE/1113 Invalid argument passed to function
BASE/1114 Invalid argument passed to function
BASE/1115 Invalid argument passed to function
BASE/1116 Invalid argument passed to function
BASE/1117 Invalid argument passed to function
BASE/1120 Invalid argument passed to function
BASE/1122 Incorrect type of argument
BASE/1124 Incorrect type of argument
BASE/1126 Invalid argument passed to function
BASE/1132 Bound error in array access
BASE/1133 Bound error in array assigment
BASE/2010 Incorrect arguments type
BASE/2012 File error
BASE/2017 Invalid argument passed to a function
BASE/2020 Invalid argument passed to function
BASE/3001 Incorrect argument type
BASE/3002 Super class does not return an object
BASE/3003 Cannot find super class
BASE/3004 Cannot modify a DATA item in a class
BASE/3005 Incorrect arguments type
BASE/3007 Invalid type of argument
BASE/3008 Invalid type of argument
BASE/3009 Incorrect argument passed to __MVGET function
BASE/3010 Incorrect argument passed to __MVPUT function
BASE/3011 Invalid argument passed to a function
BASE/3012 Invalid argument passed to a function
BASE/3101 Invalid argument passed to an object/class function
BASE/3102 A symbol should be modified or deleted from a class, but the symbol doesn't exist.
BASE/3103 A symbol should be added to a class, but the symbol already exists.
TERM/2013 Create error
TOOLS/4001 Invalid argument passed to function