tab2arrayArray Opcodestab2arraytab2array
Copy a slice from an f-table to an array
DescriptionPlugin opcode in emugens.
The tab2array opcode takes an f-table and
copies a slice to an array, possibly allocating it or changing
its size
Syntaxkout[] tab2array ifn [, kstart, kend, kstep ]iout[] tab2array ifn [, istart, iend, istep ]Initializationifn - The table index to copy data from
Performancekstart / istart - The index to start copying from. Defaults to 0kend / iend - The end index to stop cpying.
This is NOT inclusive. 0 means copy to the end of the table. Defaults to length of tablekstep / istep - How many elements to skip. Defaults to 1Examples
Here is an example of the tab2array opcode. It uses the file tab2array.csd.
Example of the tab2array opcode.See alsoArray opcodesCreditsBy: &nameeduardo; 2018New plugin in version 6.12