tablengTable Control:Table Queriestablengtableng
Interrogates a function table for length.
Description
Interrogates a function table for length.
Syntaxires tableng ifnkres tableng kfnInitializationifn -- Table number to be interrogated
Performancekfn -- Table number to be interrogated
tableng returns the length of the specified table. This will be a power of two number in most circumstances. It will not show whether a table has a guardpoint or not. It seems this information is not available in the table's data structure. If the specified table is not found, then 0 will be returned.
Likely to be useful for setting up code for table manipulation operations, such as tablemix and tablecopy.
Examples
Here is an example of the tableng opcode. It uses the file tableng.csd.
Example of the tableng opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Its output should include a line like this:
instr 1: isize = 115506.000
See alsoTable Control:Table QueriesCreditsAuthor: Robin WhittleAustraliaMay 1997