Posts: 408
Threads: 40
Joined: Nov 2014
Reputation:
0
No. This how arrays work. But you can introduce dummy info in the index 0 and use it from 1
Posts: 22
Threads: 6
Joined: Oct 2016
Reputation:
0
Thee is another problem, when I loop through all ranks, and skip this dummy and add other ranks in the dialog list, dialog starts from case 0: I need it to start from case 1: too, any suggestions?
Posts: 543
Threads: 4
Joined: Jul 2015
Reputation:
0
Why do you need it for that too..? If you insist the only way to do it is to create an empty listitem, then it would count as 0.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
This is why you use #define.....
#define MAFIA_RANK_1 0
#define MAFIA_RANK_2 1
etc