[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Real simple question about strings...
- From: Alex Queiroz <asandroq@...>
- Date: Tue, 15 Jun 2010 23:21:32 -0300
Hallo,
On Tue, Jun 15, 2010 at 11:17 PM, <kenk@heroesent.com> 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
> instance...
>
> 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.
--
-alex
http://www.artisancoder.com/