View Single Post
05/30/14, 04:38 PM   #8
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Originally Posted by Aiiane View Post
This is rather inefficient. If you just want to get the values at certain indices, just index them! There's no reason to remove values from the table.

Lua Code:
  1. local dottable = {...}
  2. local element4, element17 = dottable[4], dottable[17]
It was just an example for table.remove, rather than a proper usage for (...)
  Reply With Quote