table.GetLastKey
From GMod Wiki
| Function | |
| Syntax |
table.GetLastKey( Table Table ) Where is this used? |
| Description: | |
| Gets the last key in a table | |
| Returns: | Var |
| Part of Library: | table |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Table.GetLastKey]Table.GetLastKey [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
| Description | Example use of table.GetLastKey |
|---|---|
| Used on | |
| Code | local Table = {} Table["Testing"] = "1,2,3" Table["Testing2"] = "4,5,6" print(tostring(table.GetLastKey(Table)) |
| Output | "Testing2" |