<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Dear Laura,<br><br>I think it is missing simple quotes, since par is, now, a variable.<br>Try this:<br>'print filename_value'par'.eps'<br><br>Hope this helps,<br>Ricardo<br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Laura Zamboni" <lzamboni@mcs.anl.gov><br><b>Para: </b>gradsusr@gradsusr.org<br><b>Enviadas: </b>Terça-feira, 12 de Agosto de 2014 15:28:17<br><b>Assunto: </b>[gradsusr] converting variable to string<br><br>Hello,<br><br>how can I convert a grads variable to a string within a script? What I'd <br>like to do is the following:<br>'define par=10'<br>(instructions)<br>'print filename_value<par>.eps'<br>in which I'd like to see the value "10" in lieu of <par><br><br>Thanks,<br>Laura<br><br>-- <br>-------------------------<br>My research and why I got to Argonne curious?<br>http://www.anl.gov/articles/laura-zamboni<br><br>-------------------------<br>-------------------------<br>Laura Zamboni, PhD<br>Computational Postdoctoral Fellow - Climate Scientist<br>Board member of the Postdoctoral Society of Argonne - Chair of the PSA mentoring committee<br>Argonne National Laboratory, MCS Division<br>9700 S.Cass Ave<br>TCS Bldg #240, room 4152<br>Argonne, IL 60439<br>ph.+1 630-252-1131<br>fax. +1 630-252-5986<br>web: http://www.mcs.anl.gov/~lzamboni/<br><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote><br></div></body></html>