Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-10-08, 06:30 AM   #1
kerrang
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 109
Emptying a Table

Here's a challenge for you

Fred = {}
Fred['barney'] = {}
Fred['barney']['wilma'] = "Flintstone"
Fred = nil
Fred = {}
Fred['barney'] = {}

What does Fred['barney']['wilma'] now contain

Clue: It's not nil, "" nor does it not exist

How does one actually empty a table then?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Emptying a Table


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off