Hello again,
With the current configuration of my script, the display doesn't include special characters, only the line number itself.
Example:
I have the line 250S, which consists of the line number + the special char code 2.
In the script, the data gathering is done with this procedure:
Code
- procedure GetInfo;
- begin
- //Creates a temporary list of data from the timetable for the given amount of time specified in $timespan
- StatPIS_GenerateTempDataList(Self, $timespan);
- //Sorts the list after departure time(parameter 0, at the moment the only one)
- //StatPIS_SortTempList(Self, 0); I øjeblikket uden funktion grundet ingen sorteringsmuligheder
- //Writes the number of trips from GenerateTempDataList to datacount
- datacount := StatPIS_GetTempDataCount(Self);
- //Checks if any trips are present on the list (> 0). If yes, then write the trips from the list (index #) to "data_line#"
- if datacount > 0 then
- BEGIN
- data_line1 := StatPIS_GetTempListData(Self, 0);
- data_line2 := StatPIS_GetTempListData(Self, 1);
- data_line3 := StatPIS_GetTempListData(Self, 2);
- data_line4 := StatPIS_GetTempListData(Self, 3);
- END;
- //Writes the length of the line strings into their respective Linestr_Length. This is used to shift the number right on the display.
- Linestr_Length1 := TexGetTextLenPixel(Self, data_line1.Line, Font);
- Linestr_Length2 := TexGetTextLenPixel(Self, data_line2.Line, Font);
- Linestr_Length3 := TexGetTextLenPixel(Self, data_line3.Line, Font);
- Linestr_Length4 := TexGetTextLenPixel(Self, data_line4.Line, Font);
- Dest_Length1 := TexGetTextLenPixel(Self, data_line1.Terminus, Font);
- Dest_Length2 := TexGetTextLenPixel(Self, data_line2.Terminus, Font);
- Dest_Length3 := TexGetTextLenPixel(Self, data_line3.Terminus, Font);
- Dest_Length4 := TexGetTextLenPixel(Self, data_line4.Terminus, Font);
- end;
So, does the GetTempListData simply not include special characters, or what do I need to do to add this to the line variable?
-Thor