[fpc-pascal] Illeagal assignment to For Loop variable in Free pascal

Bart bartjunk64 at gmail.com
Wed Jun 18 13:36:31 CEST 2014


On 6/18/14, Juha Manninen <juha.manninen62 at gmail.com> wrote:


> How about :
>   Filename := Trim(Filename);

The original code removes trailing spaces only, and Trim() removes
more than spaces (and it removes leading blanks as well).

Bart



More information about the fpc-pascal mailing list