Errata and Updates

This page lists errata and updates for The 4D 6.5 Companion.

Bug #1 in Constants Editor in Sample Database

A bug in ConstEditor_UpdateInterface disables the add constants button when a struture without constants is open. The corrected routine is listed in the scrollable text area below, ready for copy-and-paste:

Thanks to Achim Kruse for reporting this error. (Added March 27, 2002)

Bug #2 in Constants Editor in Sample Database

A bug in ConstEditor_Select4DKList produces a variety of display problems. The corrected routine is listed in the scrollable text area below, ready for copy-and-paste:

Thanks to Charles Stillman and John Steele for reporting this error.

Typo on page 49
The third sentence of the DataCheck Runtime paragraph uses the word “performs” instead of “performs.” The full sentence should read: “You can have one that performs a quick scan of indexes, another that scans all records in detail, a third that scans and fixes the bitmap, and a fourth that drops all indexes.”

Thanks to Douglas O. Blew for reporting this error.

Error in pseudo-code on page 292
The array index used inside the loop should be Loop Counter instead of 1 and the conjunction should be | (OR) not & (AND.) Here is how the pseudo-code should be written:
 
QUERY([Table];[Table]Indexed_Field=Query_array{1};*)
  For (Loop Counter;2;Size of array(Query_array))
   QUERY([Table]; | ;[Table]Indexed_Field=Query_array{Loop Counter};*)
End for

QUERY([Table])

Thanks to Robert R. Livingston for reporting this error.

Incorrect command name listed on pages 295, 339 and 340
The 4D 6.5 command CREATE SELECTION FROM ARRAY is listed as CREATE NAMED SELECTION FROM ARRAY. The command description and sample code are correct.

Thanks to John Baughman for reporting this error.

Last updated July 19, 2000