-
1. Re: Nested quotes, value(), and string() and other fun "Headaches"
SeanWilson Apr 22, 2014 12:06 AM (in response to SunLight)I agree that it doesn't seem that you are doing things the "right" way, but you haven't provided enough oversight to grasp what a better way might look like. Whenever you find yourself using the value() function to insert a variable into an expression should ring alarm bells that there is a "better" way
-
2. Re: Nested quotes, value(), and string() and other fun "Headaches"
SunLight Apr 22, 2014 4:57 PM (in response to SeanWilson)I ended up creating a small DB in text format as a cast lib member and having yet another text member that
I use to create my entries, which looks much cleaner, and have Director read from that and assign it in the DB.
-
3. Re: Nested quotes, value(), and string() and other fun "Headaches"
rduane Jul 17, 2014 3:55 PM (in response to SunLight)What the??? Since you already had this working even before your first post, and then figured out another way to make it work too, I should just leave this alone … but I couldn't.
It seems like you went about it backwards. This will create the same result for the variable s as your first example:
myString = "This" && VariableD && "ThisToo" && "That"
s = []
s.append(myString)
although I suspect you really wanted DB to end up being the list and not s, and that would have just been like so:
s = "This" && VariableD && "ThisToo" && "That"
DB = []
DB.append(s)


