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