The problem is that Molpro interprets numbs(i) literally as a filename "numbs(i)" rather than evaluating it as an array element containing the actual geometry filename (e.g., 'geom1.xyz').
I also tried using an intermediate variable:
```
n = numbs(i)
geometry=n
```
This is also not working,I know about command-line variables (geometry=geom$n.xyz with molpro -V n=1), but I specifically want to handle multiple files within a single input file using a loop. Because I want to define all the geometry file names within the input file and launch it as a single job.
Any help would be appreciated!