[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Real simple question about strings...
- From: Alex Queiroz <asandroq@...>
- Date: Tue, 15 Jun 2010 23:21:32 -0300
On Tue, Jun 15, 2010 at 11:17 PM, <firstname.lastname@example.org> wrote:
> Hi there,
> Ya, I was trying that... but how do I insert a variable in between the [[
> ]] ... everything inside that becomes a literal string. I know I could write
> out to file [[ and then the file path and then ]] ...But how do you get, for
> filePath = "C:\\apples\\boo\\test.boo";
> copyFile = [[ filePath ]];
> So that copyFile becomes: [["C:\apples\boo\test.boo"]]
copyFile cannot become that. The '[[' and ']]' are just syntax,
they are not part of the value of the variable.