Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API table.setn

Last wiki revision 2022-07-22

Obsolete; throws an error if called. table.setn(table, n)

  • table:Table - The table to be changed.
  • n: - New table size.
  • Lua 5.0 had no length operator; instead, the size of arrays could be acquired through, which returned if it that key was set. This function would explicitly set that key.
  • In WoW, this function throws a "'setn' is obsolete" error when called.

Source

https://warcraft.wiki.gg/wiki/API_table.setn · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.