Help:VE220: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Dundun92 (talk | contribs)
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 ..."
 
No edit summary
 
(2 intermediate revisions by one other 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 00: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.