Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting Help!!
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#8
RE: Scripting Help!!

(03-08-2013, 06:44 PM)sonataarctica Wrote: If I remember correctly, there are some characters that can cause errors even if it is within a string, I know in PHP you have to put a \ before a ' for it to accept it is a character, so you never know it could cause errors Big Grin

Yeh right, in other languages it's different. I can't speak for PHP as I've never used it, but normally that's because the character in question is the string delimiter, and so to include it within a string as a character you need to use an escape sequence like \ - that's the case in Javascript certainly. C has special escape sequences you can use for formatting and such, can't speak for C++ however.

But irrespective of all that, I made a sound file with () in the name and it worked just fine, so Angelscript doesn't have that problem at least!

03-09-2013, 12:19 AM
Find


Messages In This Thread
Scripting Help!! - by 7heDubz - 03-08-2013, 01:17 PM
RE: Scripting Help!! - by Linus Ågren - 03-08-2013, 01:26 PM
RE: Scripting Help!! - by 7heDubz - 03-08-2013, 01:27 PM
RE: Scripting Help!! - by The chaser - 03-08-2013, 03:24 PM
RE: Scripting Help!! - by 7heDubz - 03-08-2013, 03:44 PM
RE: Scripting Help!! - by Adrianis - 03-08-2013, 06:09 PM
RE: Scripting Help!! - by ExpectedIdentifier - 03-08-2013, 06:44 PM
RE: Scripting Help!! - by Adrianis - 03-09-2013, 12:19 AM
RE: Scripting Help!! - by 7heDubz - 03-09-2013, 01:07 AM
RE: Scripting Help!! - by PutraenusAlivius - 03-09-2013, 11:18 AM



Users browsing this thread: 3 Guest(s)