Author Topic: Can I access selections by index  (Read 1770 times)

Tags:
  • All members
  • Posts: 66
  • Karma: +0/-0
Can I access selections by index
« on: Mon, 12 December, 2011, 16:10 »
I know I can use r_1_back_price to access the favourites back_price.  Is there a way I can do the same with the index like i_1_lay_price.  This doesn't seem to work by the way.

Cheers

  • Tim Vetrov
  • Administrator
  • Posts: 4569
  • Karma: +18/-0
  • Gender: Male
*
Re: Can I access selections by index
« Reply #1 on: Mon, 12 December, 2011, 17:17 »
Quote
Referring to selections by their index
You can refer to a selection by its index assigned to it by BetFair. Add a prefix s_[number]_ to any selection variable. For example, s_1_back_price will return the price of the first selection (which is not necessarily the favourite!).
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 66
  • Karma: +0/-0
Re: Can I access selections by index
« Reply #2 on: Tue, 13 December, 2011, 11:08 »
Thanks