MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / makeStringIndex

Function makeStringIndex

libraries/p5.js:3800–3810  ·  view source on GitHub ↗
(strings)

Source from the content-addressed store, hash-verified

3798}
3799
3800function makeStringIndex(strings) {
3801 var t = new table.Table('String INDEX', [
3802 {name: 'strings', type: 'INDEX', value: []}
3803 ]);
3804 t.strings = [];
3805 for (var i = 0; i < strings.length; i += 1) {
3806 t.strings.push({name: 'string_' + i, type: 'STRING', value: strings[i]});
3807 }
3808
3809 return t;
3810}
3811
3812function makeGlobalSubrIndex() {
3813 // Currently we don't use subroutines.

Callers 1

makeCFFTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected