[molpro-user] defining variables with $$

Yann Tambouret yannpaul at bu.edu
Fri Feb 11 06:12:00 GMT 2005


Dear Molpro user group,

Does anyone know if I can use macros to define variables? For example:

var_array=['myvar1','myvar2']

DO i=1,#var_array
$$var_array(i)=i
END DO
show,myvar1
show,myvar2

This doesn't seem to work for me, and I was wondering if any knows if 
this is even allowed?

Thanks,

Yann Tambouret
BU Chemistry




More information about the Molpro-user mailing list