xHarbour News
2004-09-29
xHarbour BETA-1.1 is released. All binaries for the different platforms, contributions and sources are available on the download pages now.
Here are some of the fixes, and new features offered by Beta-1.1:
- Further optimization as a whole in xHarbour functions which is aimed to improve performance.
- Many fixes and enhancements to DBFCDX and RDDADS
- New "ASSOCIATE CLASS" syntax. It allows the xHarbour developer to replace the standard classes for native types with any alternative class, including classes derived from the standard classes.
Syntax: ASSOCIATE CLASS <ClassName> WITH TYPE
ARRAY|BLOCK|CHARACTER|DATE|LOGICAL|NIL|NUMERIC|POINTER
- New OVERRIDE CLASS syntax. It allows the xHarbour developer to override the
behavior of any existing class (including native type classes) using the
following syntax:
OVERRIDE METHOD <SomeMethod> [IN] CLASS <SomeClass> WITH [METHOD] <SomeFunc> [SCOPE <Scope>]
- New EXTEND CLASS syntax. It allows the xHarbour developer to extend any
existing class (including native type classes) using the following syntax:
EXTEND CLASS <SomeClass> ;
WITH DATA|VAR <SomeVar> ;
[SCOPE <Scope>] [<Persistent: PERSISTENT> ] [<Case: NOUPPER>]
EXTEND CLASS <SomeClass> ;
WITH METHOD <SomeFunc>
EXTEND CLASS <SomeClass> ;
WITH MESSAGE <SomeMessage> METHOD <SomeFunc>
EXTEND CLASS <SomeClass> ;
WITH MESSAGE <SomeMessage> INLINE <SomeCode>
- New EXTENDABLE Native Types. Native xHarbour types may be extended using the
following syntax:
EXTEND [TYPE] ARRAY|BLOCK|CHARACTER|DATE|LOGICAL|NIL|NUMERIC|POINTER
WITH METHOD <SomeFunc>
EXTEND [TYPE] ARRAY|BLOCK|CHARACTER|DATE|LOGICAL|NIL|NUMERIC|POINTER
WITH MESSAGE <SomeMessage> METHOD <SomeFunc>
EXTEND [TYPE] ARRAY|BLOCK|CHARACTER|DATE|LOGICAL|NIL|NUMERIC|POINTER
WITH MESSAGE <SomeMessage> INLINE <SomeCode>
The above will then allow utilization of native types as OOP Objects with regard to the specified method[s].
- NATIVE Types as OOP objects. You may use the following syntax to enable OOP
support for native types:
ENABLE CLASS TYPE ALL
ENABLE TYPE CLASS ARRAY|BLOCK|CHARACTER|DATE|LOGICAL|NIL|NUMERIC|POINTER
- Fixes to memoline/mlcount functions to be more portable to all platforms
- Many fixes and enhancements to all classes
- More enhanced RegEx engine
- Many enhancements to gtwvt
- Fixed problems with Inkey() on numeric pad
- Added new SET EOL to control EOL character policy
- Enhancements to file system. xHarbour apps compiled for the Windows platform
now uses native WIN32 API calls for faster file access.
- Many fixes and enhancements to the xHarbour Debugger