Subj : FPC snippet.
To : Wilfred van Velzen
From : Nicholas Boel
Date : Fri Jan 27 2017 01:33 pm
Hello Wilfred,
On Fri Jan 27 2017 19:22:06, Wilfred van Velzen wrote to Nicholas Boel:
jl>>> if FileExists(fn+'.PK2') then shell('/usr/bin/mv '+fn+'.PK2
jl>>> '+fn+'.MIX');
NB>> Was this a typo? Or should the first instance of "fn" have a "+"
NB>> before it as well?
WV> You're showing you are not a programmer! ;)
WV> + Is the operator to concatenate two strings together. So you are not
WV> puting it just in front of a string or string variable, but between
WV> them...
There's usually a lot more spacing in what I've seen in the past, so.. oh well.
I tried.
Regards,
Nick
... "Не знаю. Я здесь только работаю."
--- GoldED+/LNX 1.1.5-b20161221
* Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)