News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

[DONE] Get number of lines with "get_count()"

Started by Yona-TYT, May 02, 2017, 01:55:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

I need to get the number of lines in the list "halt_x().get_line_list()", but "get_count()" does not work. :-[

Dwachs

Not implemented yet. These lists are only available for iterating with foreach(..).
Parsley, sage, rosemary, and maggikraut.

Yona-TYT

Quote from: Dwachs on May 02, 2017, 06:37:51 AM
Not implemented yet. These lists are only available for iterating with foreach(..).
As used with "get_convoy_list ()", I expected it to work with "get_line_list()" too.  :P

Dwachs

Parsley, sage, rosemary, and maggikraut.