Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Documentation/Online Help/Main help    [ Add a report in this area ]  
Report #:  34966   Status: Closed
Typos/errors in Help for TSysLocale, TSystemTime, TSysCharSet
Project:  Delphi Build #:  10.0.2445.40105
Version:    10.0 Submitted By:   David Marcus
Report Type:  Documentation problem Date Reported:  10/8/2006 11:50:27 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   242530
Resolution: Fixed (Resolution Comments) Resolved in Build: :
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: None
Description
There are some typos and errors in the Help for TSysLocale, TSystemTime, TSysCharSet. See Steps.
Steps to Reproduce:
The page ms-help://borland.bds4/bds4win32api_win32/html/DelphiWin32_SysUtilsTSysLocaleType.htm says, "[Delphi] type TSysLocale = record end;". The definition of the record is missing.

The page also says, "FarEast indicates whether the locale represents an Asian locale. MiddleEast indicates whether the local [sic] represents a Middle Eastern locale." This is not true.

Actually, FarEast is "TRUE or nonzero if User32.dll supports DBCS; FALSE or zero otherwise. Windows Me/98/95: TRUE or nonzero if the double-byte character-set (DBCS) version of User.exe is installed; FALSE or zero otherwise." (according to ms-help://borland.bds4/sysinfo/base/getsystemmetrics.htm). I think MiddleEast is "TRUE if the system is enabled for Hebrew and Arabic languages.", although I'm not sure why SysUtils.pas checks the value of Win32Platform rather than just always calling GetSystemMetrics.

The page ms-help://borland.bds4/bds4win32api_win32/html/DelphiWin32_WindowsTSystemTimeType.htm says, "[Delphi] type TSystemTime = record end;". The definition of the record is missing.

The page ms-help://borland.bds4/bds4win32api_win32/html/DelphiWin32_SysUtilsTSysCharSetType.htm says, "[Delphi] type TSysCharSet = set of (Char;". The left parenthesis should be deleted.
Workarounds
None
Attachment
None
Comments

Sebastian Modersohn at 10/15/2006 3:30:57 AM -
All issues confirmed.

Server Response from: ETNACODE01