Skybuck Flying schrieb:

   K_quotedbl = '\"';

This of course should read
    K_quotedbl = '"';


 { also define the escape sequences that have keys associated  }

All the C escape sequences have to be translated into Pascal char/string, e.g.:

 { 8  }
 const
   K_BS = '\b';
should read
    K_BS = #8;

{ 10 (0x0A) not a real key, is a combination of CR with a modifier, just to document }
   K_LF = '\n';

This one is questionable. The comment suggests a #13#10, but this may not work everywhere.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to