Posted By: PlaystationThree
Simplification? - 01/09/09 05:18
Is there a way simplify this? Thanks in advance
This actually goes on up to 100 TEXT* structs, which is the reason for simplification.
Code:
... str_cpy((text1.pstring)[0],"value1"); str_cpy((text2.pstring)[0],"value2"); str_cpy((text3.pstring)[0],"value3"); str_cpy((text4.pstring)[0],"value4"); str_cpy((text5.pstring)[0],"value5"); str_cpy((text6.pstring)[0],"value6"); str_cpy((text7.pstring)[0],"value7"); str_cpy((text8.pstring)[0],"value8"); str_cpy((text9.pstring)[0],"value9"); str_cpy((text10.pstring)[0],"value10"); ...
This actually goes on up to 100 TEXT* structs, which is the reason for simplification.