[fpc-pascal] Trim db-fieldnames, or not?

Joost van der Sluis joost at cnoc.nl
Fri Apr 18 21:19:38 CEST 2008


Hi all,

In several places you can specify a list of fieldnames, seperated by
semicolons. For example: 'field1;field2'. Question is: should this be
allowed: 'field1; field2'? Or should a "Field not found: ' field2'"
exception occur? (Note the space)

Ie: should I add a trim(fieldname) to the code, or not? What do you guys
think?

Joost.




More information about the fpc-pascal mailing list