Rail3D Modifications Detailed Listing

30/10/2012
Back to Rail3D Bugs List
Identifier: 67
Category: Bug
Bug severity: Not working as designed Status: Accepted
Reported date: 14/08/2009 (Build 105) Date fixed:
Keywords: script Expected build:
Mode: Build with fix:
Application: Scripts Implementer:
Brief description: Scripts containing brackets within quotes Comments:
Detailed description:

It would appear that in: if((Location=="Glasgow (Queen Street)")&&(route=="1A22")) { Train.SetRoute("0A22"); Train.QueryTimetable(); Train.SetNote("LE to Eastfield Shed"); } the brackets round Queen Street are confusing the script and not seeing the if statement as .TRUE. "Glasgow Queen Street" does work.