Marzipans Traindispatchdisplay rule displays an error viz.
Error: traindispatchdisplay.gs(284) : function IsStillInJunction not declared in class Train or derivative, line 284.
Error: traindispatchdisplay.gs(312) : invalid if expression, line 312.
I have puzzled over this without success.
The rule confers responsibilty on common.gs, but does not confer with train.gs, where "IsStillInJunction" is formally declared.
I have added include "train.gs" to the rule, by that induces further errors.
Question:
Is there a replacement or corrected rule in the offing?
Has anyone else found a work around in this script? I cannot see it, as the above function is in the first "if" in the particular loop, and needs to verify the presence of a train in a junction before then taking the "else" solutions that follow.
Error: traindispatchdisplay.gs(284) : function IsStillInJunction not declared in class Train or derivative, line 284.
Error: traindispatchdisplay.gs(312) : invalid if expression, line 312.
I have puzzled over this without success.
The rule confers responsibilty on common.gs, but does not confer with train.gs, where "IsStillInJunction" is formally declared.
I have added include "train.gs" to the rule, by that induces further errors.
Question:
Is there a replacement or corrected rule in the offing?
Has anyone else found a work around in this script? I cannot see it, as the above function is in the first "if" in the particular loop, and needs to verify the presence of a train in a junction before then taking the "else" solutions that follow.
Last edited: