Forum: Forums topas RSS
How to define and import the values of string variables
Definition and working with parameters as string
masgari #1
Member for 2 weeks · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: How to define and import the values of string variables
I am working on sequential rietveld refinement of some PXRD data and I need to attach the name of CIF output CIF files to the Number of runs that has been defined as variable in inp. file. How can I do that?

For example, let's assume that I have a parameter defined as following:

prm !N = 10 ;

How can I make a CIF file with the name which follows the content of N parameter, i.e. in this case:
A CIF file with the name which is called "10.CIF".

Thanks,
johnsoevans (Administrator) #2
User title: John Evans
Member since Aug 2009 · 179 posts
Group memberships: Administrators, Members
Show profile · Link to this post
Does the following do what you want:

Out_CIF_STR(cif_files\run_number_##Run_Number##.cif)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Not logged in. · Lost password · Register
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Current time: 2018-06-25, 15:40:58 (UTC +00:00)