suffix 4

appends a suffix to an input-string. BEWARE:maximum length of input and suffix may not exceed 16 characters.
Author: Robert Schirmer
License: BSD
Github: rbrt/string/suffix 4.axo

Inlets

charptr32 str1

Outlets

charptr32 string

charptr32 out2

charptr32 out3

charptr32 out4

Attributes

table suffix1

table suffix2

table suffix3

table suffix4

spinner maxLength

Declaration
char c1[attr_maxLength];
char c2[attr_maxLength];
char c3[attr_maxLength];
char c4[attr_maxLength];
Control Rate
strcpy(&c1[0], inlet_str1);
strcat(&c1[0], "attr_suffix1");
outlet_out1 = &c1[0];

strcpy(&c2[0], inlet_str1);
strcat(&c2[0], "attr_suffix2");
outlet_out2 = &c2[0];

strcpy(&c3[0], inlet_str1);
strcat(&c3[0], "attr_suffix3");
outlet_out3 = &c3[0];

strcpy(&c4[0], inlet_str1);
strcat(&c4[0], "attr_suffix4");
outlet_out4 = &c4[0];

Privacy

© 2024 Zrna Research