View Single Post
06-19-12, 11:53 AM   #14
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
The original idea of the function was to preserve the existing contents of the table and add new values to the end, hence the name tAppend(). Though it would be easy to wrap the table constructor in a function, there is nothing to gain from doing so. Any other possible ways to achieve the original design would risk a stack overflow and/or cause huge spikes in memory usage. No other method I could think of would only work on modifying the original table as intended.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 06-19-12 at 12:00 PM.
  Reply With Quote