Home > Language Reference

Functions

This section describes the predefined functions in HB++ categorized by theme. All these functions are defined at a global level and are accessible from any part of your project.

The names of the majority of these functions are not reserved keywords and can be used to define your own variables and functions as long as a conflict in scope does not occur. However, this practice is not advised because it can be the source of programming errors that are difficult to locate. Consider the following example:

Private Property Get Date() as Date
  ' Some code that returns a date
End Property

This declaration is allowed because the Private keyword makes this function local to the module in which it is declared, so it does not conflict with the property of the same name predefined at a global level by HB++. However, all calls to the Date property from this module will call this property making it impossible to call the original property.

To make it easy to find the corresponding function for the functionality you require, they are grouped under the following categories: