ehem. OMSI - Forum
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.
ehem. OMSI - Forum

Dieses Forum wurde geschlossen. Das neue Forum befindet sich auf www.omnibussimulator.de/forum !
 
StartseiteStartseite  Neueste BilderNeueste Bilder  SuchenSuchen  AnmeldenAnmelden  LoginLogin  

 

 BUG: comment in osc-file generates error when preceeded by tab

Nach unten 
2 verfasser
AutorNachricht
frosti




Anzahl der Beiträge : 8
Anmeldedatum : 17.05.11

BUG: comment in osc-file generates error when preceeded by tab Empty
BeitragThema: BUG: comment in osc-file generates error when preceeded by tab   BUG: comment in osc-file generates error when preceeded by tab Icon_minitimeDi 21 Jun - 7:41

When the character ' is proceeded by a tab, an error is generated.
When loading the bus, which the osc-file with the <tab>' combination
belongs to, an error message shows up which says

Zitat :
'[last-word-of-comment]' is not a valid float value

where [last-word-of-comment] has to be substituted by the last
word of the last comment line.

this error message itself is missleading and thus wrong as it does not give any clues
on what error occured and how it can be corrected.

furthermore should it be allowed to have an indented comment.

please correct this wrong behaviour!
Nach oben Nach unten
Marcel Kuhnt
Admin
Marcel Kuhnt


Anzahl der Beiträge : 3364
Anmeldedatum : 26.04.09
Alter : 39
Ort : Berlin-Spandau

BUG: comment in osc-file generates error when preceeded by tab Empty
BeitragThema: Re: BUG: comment in osc-file generates error when preceeded by tab   BUG: comment in osc-file generates error when preceeded by tab Icon_minitimeDi 21 Jun - 9:39

Please mind, that "wrong" everytime needs rules what is "wrong" and "right"! And in this case the rule is: "Place ' on the first position", so the behaviour is not wrong, just not typical! Wink (it is a bit like FORTRAN! Wink )

The error message is not good, I know - but at least we had not the time to implement an adequat development environment for our script language...

I will add it to our to do list...! Wink
Nach oben Nach unten
 
BUG: comment in osc-file generates error when preceeded by tab
Nach oben 
Seite 1 von 1
 Ähnliche Themen
-
» File Access Voilation Error?
» [gelöst] Kann die Map Spandau nicht starten, hängt im Ladebildschirm
» Problem mit o3d file
» Optionen "File not found!"
» File formats

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
ehem. OMSI - Forum :: OMSI - Der Omnibussimulator (deutsch) :: Probleme-
Gehe zu: