<
Previous versions of Ox>
Ox 10.0: new features and fixes
New features and enhancements in version 10.0
Fixed problems in version 10.0
New features and enhancements in version 10.0
-
Changed default path: user part after system (and without include and apps).
-
insertc(<>, 0, 1) and insertr(<>, 0, 1) now return <0>.
-
macOS dynamic library is now .dyld instead of .so, and linked with dynamic instead of bundle. All DLLs need to be recompiled for Ox 10.
-
!string and !array now work as expected
-
Added strings().
-
Keyed indexation can now use member-style notation, provided the key is an identifier.
So arr["aa"] equals arr.aa.
-
Updated libcurl, renamed oxcurl.oxh (the header for the dll wrapper) to oxlibcurl.oxh (to contrast more clearly with oxurl.oxh).
-
graphics
- areas are now boxed by default
- DrawQQ now allows for error bands
Also thinning QQ plot to 1024 points (thinning is done along X axis)
- histograms are now a `vector' instead of a separate section
- Added arrows
- dropped Postscript support
-
DrawAdjust(ADJ_AREA_,...) use -1 for last area.
-
OpenDrawWindow(GWG_file) to open a GWG file;
OpenDrawWindow("") to reopen a graph for further additions after ShowDrawWindow.
-
"%J" print/scan format for JSON.
- Ox export adjustments:
FOxGetDataMember returns array with member names if name argument is "" or NULL.
New functions: OxValGetDbl, OxValGetI32, OxValGetMatVal, OxValSetMatVal.
-
nullish operator ??
.NaN and .Null are nullish, but FALSE is not, so
decl x = arr.key ?? -1;
sets x to -1 if arr.key is .Null or .NaN, or to arr.key otherwise.
This is different from
decl x = arr.key || -1;
because x would be set to -1 whenever arr.key evaluates to false.
-
isnull can also check reference:
decl a;
then isnull(&a) returns TRUE, whereas isnull(a) is a runtime error.
-
The spline function can have 4th argument "kernel".
- strings: added array of formats (this does not vectorize a column or row vector)
- submat: negative r2,c2 are increased by row/column size.
- fsplit: split filename in components
- cumsum skips over leading missing values
- insertc, insertr with indices
-
-
-
-
Fixed problems in version 10.0:
-
Reading array from oxo file (oxobj.c): now using OxValSetArray, so that allocated size is set correctly, rather than undefined.
Ox
©
JA Doornik
This file last changed .