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
Help! Script error!!
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#6
RE: Help! Script error!!

Syntactically, the braces were fine: the interpreter will always throw bracketing errors before any errors to do with function signatures. If you re-read the first post you will notice that the error reported is a function signature error. If a bracketing error occurs the interpreter will not look for errors past that stage and as such a bracketing error could not have been the source of the problem reported. If you want to test this, try:
void errorMe() { {    Invalid_Function_Name(123); }
Even though "Invalid_Function_Name(int)" is not defined, that error is not reported as the bracketing error takes precedence. If I altered the code in some way and an error about that function signature was reported, the brackets therefore, must be fine / have been fixed.
(This post was last modified: 03-11-2012, 03:31 PM by Apjjm.)
03-11-2012, 03:10 PM
Find


Messages In This Thread
Help! Script error!! - by xxR3LoaD3dxx - 03-10-2012, 07:39 PM
RE: Help! Script error!! - by UnseenLegend ( NL ) - 03-10-2012, 10:09 PM
RE: Help! Script error!! - by xxR3LoaD3dxx - 03-10-2012, 11:52 PM
RE: Help! Script error!! - by Apjjm - 03-10-2012, 11:07 PM
RE: Help! Script error!! - by UnseenLegend ( NL ) - 03-11-2012, 02:06 PM
RE: Help! Script error!! - by Apjjm - 03-11-2012, 03:10 PM



Users browsing this thread: 1 Guest(s)