Decode Will Not Accept Leading Blanks in Version 3.31

Product Version(s): 3.3x
Operating System:   MS-DOS
Flags: ENDUSER | TAR53149 buglist3.31 fixlist3.32
Last Modified: 30-SEP-1988    ArticleIdent: Q11496

Question:

After converting from Pascal Version 3.30 to Version 3.31, the library
function decode behaves differently. In earlier versions, leading
blanks were acceptable for decode to work. In Version 3.31, the
leading blanks must be removed. The following is an example:

    var
       RESULT: lstring(7);
       TOT   : real;

begin
  RESULT:= '   12.97';   ! Worked before 3.31
  RESULT:= '12.97';      ! Works with 3.31
  RESULT:= '12.97   ';   ! Also OK with 3.31
  eval(decode(result,tot));

Will this restriction be corrected? Old applications are no longer
compatible.

Response:

Microsoft has confirmed this to be a problem in Version 3.31. This
problem was corrected in Version 3.32.
