FOR Statement limitations under start function - page 2

 
  1. Don't hijack year old threads - open a new one
  2. Post your code using SRC - there's no mind readers here.
  3. have your code update an array, thus returning multiple items. From here
    int     tickets[],      nTickets = GetHistoryOrderByCloseTime(tickets);
    for(int iTicket = 0; iTicket < nTickets; iTicket++) ...