[fpc-pascal] IsValidIdent() and identifiers escaped with &

Howard Page-Clark hdpc at talktalk.net
Sun Feb 5 15:24:46 CET 2017


Consider this program, which returns False:

program Project1;

uses sysutils;

var
   &begin: boolean;

begin
   &begin:=IsValidIdent('&begin');
   WriteLn('IsValidIdent(''&begin'') evaluates to ', &begin);
end.

Should sysutils.IsValidIdent() be updated to return True in this case?



More information about the fpc-pascal mailing list