GetAttributeCount()
Description
Section titled “Description”The GetAttributeCount Lua function returns the total number of attribute definitions in the show.
Arguments
Section titled “Arguments”This function does not accept any arguments.
Return
Section titled “Return”- Integer:
The returned integer number represents the total amount of attribute definitions in the show file.
Example
Section titled “Example”This example prints the returned number in the Command Line History.
| Copy CodeLua |
| ``` |
| return function() |
Printf("Attribute count is %i", GetAttributeCount())end