Re: filename-prefix

"F.S.F. Brossard" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
Hi Matt,

Works well, thanks a lot!

Best Regards,

Fred

On Jun 25 2007, matt wrote:

>
>
>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...)
>>
>>
>>
>

-- 
Frederic Brossard
Hitachi Cambridge Laboratory
Cavendish Laboratory
J J Thomson Avenue
Cambridge CB3 0HE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.