Origin Version (Select Help-->About Origin): 7.5SR6 Operating System:winXP
Hi everyone,
I'm trying to import and analyse a series of files that have the following format:
EIG_N=05_g=X.XXXX_rot=0.5698_3LL.dat
where X.XXX is a number of the form 1.000 or 4.6493. I know that this is a rather ugly file name, but please bear with me anyway. Suppose that I have thousands of these files which represent the variable g incrementing from 0.0000 to 9.0000 in steps of 0.0001. This is not always the case, just an example.
My problem is that I want to loop over the variable g in some file import script and then perform some analysis. When I try to import a file with trailing zeroes such as
EIG_N=05_g=1.0000_rot=0.5698_3LL.dat,
my loop variable g=1.0000 is represented in labtalk as 1 and origin tried to import the file EIG_N=05_g=1_rot=0.5698_3LL.dat.