G
gerry.brennan
I wan to construct the following variable student is a string count is
a variable and name is a string
assign a value to it
print it
${"student_"$count"_name"} = "tom";
print ("$student_1_name\n");
Thank you.
a variable and name is a string
assign a value to it
print it
${"student_"$count"_name"} = "tom";
print ("$student_1_name\n");
Thank you.