[Solved] Echapped " not working in variable

Get help using Construct 2

Post » Tue Jun 28, 2016 9:38 pm

@trueicecold Argh my bad. >_<
I didn't spell the "no" in "no match". I'm so dumb.

Yet I fail to understand, why do we need to escape the double-quote in the event, but not in the variable ?
B
7
S
3
G
3
Posts: 56
Reputation: 2,240

Post » Tue Jun 28, 2016 9:41 pm

Because you already defined the variable as String, so Construct wraps it as a string for you anyways... In the event, you can type literally anything, so you must declare it as a string using double quotes.
B
17
S
7
G
1
Posts: 157
Reputation: 1,878

Previous

Return to How do I....?

Who is online

Users browsing this forum: lolsuperscratch, RobertMKD, tarek2 and 9 guests