Help:VE220

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Created page with "This could mean the declared functions return type is different from the actual function. void GetSpeed(bool dir); int GetSpeed(bool dir) { } The declared function is ...")
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
This could mean the declared functions return type is different from the actual function.
+
'''Generic script compilation error'''
  
void GetSpeed(bool dir);
+
Error code 220 is used for a wide variety of script errors. Generally, the error will include a short description of the fault and the file line number where the fault lies.
  
int GetSpeed(bool dir)
+
More information about Trainz script can be found [[Getting_Started_in_TrainzScript|here]].
{
+
   
+
}
+
  
The declared function is void, but the actual function is int;
+
[[Category:Validation Errors]]

Latest revision as of 10:51, 17 May 2024

Generic script compilation error

Error code 220 is used for a wide variety of script errors. Generally, the error will include a short description of the fault and the file line number where the fault lies.

More information about Trainz script can be found here.

Personal tools