[fpc-pascal] Illeagal assignment to For Loop variable in Free pascal
Marco van de Voort
marcov at stack.nl
Wed Jun 18 15:39:15 CEST 2014
In our previous episode, Juha Manninen said:
> On Wed, Jun 18, 2014 at 2:36 PM, Bart <bartjunk64 at gmail.com> wrote:
> > The original code removes trailing spaces only, and Trim() removes
> > more than spaces (and it removes leading blanks as well).
>
> Filename := TrimRight(Filename);
or
Filename := TrimRightSet(Filename,[' ']);
:-)
More information about the fpc-pascal
mailing list