On-rev Rename quotes work. Vars don't!
Björnke von Gierke
bvg at mac.com
Thu Jan 27 13:58:58 EST 2011
On 27 Jan 2011, at 19:56, Rick Harrison wrote:
> rename "imac27.jpg" "imac2012.jpg"
>
> what's below doesn't work:
>
> put "imac27.jpg" into NameOfOldFile
> put "imac2012.jpg" into NameOfNewFile
> rename NameOfOldFile NameOfNewFile
Uhm that's wrong syntax, it should be:
rename NameOfOldFile to NameOfNewFile
rename "imac27.jpg" to "imac2012.jpg"
maybe that's the problem?
More information about the use-livecode
mailing list