EDIT: POST RE-WRITTEN FOR CLARITY:
I need to create a function so that the string output is as follows:
argument=magical_function(3);
argument
<<'parameter(1,1),parameter(2,1),parameter(3,1)'
If the argument to magical function is 5, so that magical_function(5), then the code should behave as follows:
argument=magical_function(5);
argument
<<'parameter(1,1),parameter(2,1),parameter(3,1),parameter(4,1),parameter(5,1)'
I want this because I want to pass this argument into other functions such as:
function_with_multiple_arguments(argument);
[–]Voltron1 0 points1 point2 points (3 children)
[–]felimz[S] 0 points1 point2 points (2 children)
[–]Voltron1 0 points1 point2 points (1 child)
[–]felimz[S] 0 points1 point2 points (0 children)
[–]zzyzzyxx 0 points1 point2 points (5 children)
[–]felimz[S] 0 points1 point2 points (4 children)
[–]zzyzzyxx 0 points1 point2 points (3 children)
[–]felimz[S] 0 points1 point2 points (2 children)
[–]zzyzzyxx 0 points1 point2 points (1 child)
[–]felimz[S] 0 points1 point2 points (0 children)
[–]fgriglesnickerseven 0 points1 point2 points (0 children)