Hi Fred,

You could do something like this, tacking on as many parameters as you 
like:

(define fname (string-append "3DH1"
                            (number->string sx) "_"
                            (number->string resxy)))

Best Regards,
Matt


On Sat, 23 Jun 2007, F.S.F. Brossard wrote:

> Hi All,
>
> I would like to generate filenames defined by some parameters in the 
> Scheme program, such as here the resolution. The idea is to run the 
> same program with different parameters without overwriting the output 
> after each run, (fields...) How would that be possible? or is the only 
> solution to use a script file?
>
> Thanks,
>
> Fred
>
>
> (define-param resxy 16)
> .
> .
> .
> (set! filename-prefix "3DH1-")
>
> Could we incorporate resxy instead of a fixed name? (filename-prefix 
> ..."3DH1-"...resxy...)
>
>
>

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to