Re: skill question
Actually I want to declare some values that does not exist. I just know the beginning of name as a string , and index as a number.
For example:
name should start with value stored in variable nameString="a" I need 5 variables:
a1=1
a2=4
a3=9
a4=16
a5=25
One way to do this is to write theese equations as astring to a file and then load it.
out=outfile("test")
for( i 1 5
fprintf(out "%s%d%s%d%s" nameString i "=" i*i "\n" )
)
close(out)
load("test")