The format template is !%s %s %s %s %s %s The first string is the path to an .exe file to import, the second string is the path to a data file, and the next four strings are parameter names.
An example of a parameter name that won't work is "BTempDiff (3.7-11um)" Do I have to get rid of the parentheses ? --- Forwarded mail from [email protected] Date: Wed, 27 Dec 2000 23:00:48 -0700 To: [email protected] From: David Thompson <[EMAIL PROTECTED]> Subject: Re: [opendx-users] Format module Reply-To: [email protected] I believe it is going to be 'sh'. Can you give an example of what your format string is? David >You are right, Format does fine, and it probably is a shell error (in message >window, in bold type whereas other dx messages and warnings are in reg. type - >"sh: syntax error at line 1: '{' unexpected". The barfing does not >happen until >Import. > >So what "shell" am I in and how do I fix this. -- ............................................................................. David L. Thompson The University of Montana mailto:[EMAIL PROTECTED] Computer Science Department http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812 Work Phone : (406)257-8530 --- End of forwarded mail from [email protected] --- Forwarded mail from [email protected] Date: Thu, 21 Dec 2000 13:05:30 -0500 To: [email protected] From: Chris Pelkie <[EMAIL PROTECTED]> Subject: Re: [opendx-users] Format module Reply-To: [email protected] >I have a list of strings which I am formatting using !%s %s %s.... The strings >are parameter (and file) names obtained from Selectors. I then import an >external C program using the formatted statement. The problem is there are >parentheses in many of the parameter names, and the format module will >barf for >these cases. How can I format these names to overlook the () ? > >Is this a dx issue or merely a standard programming (I always did hate format >statements !) thing. > >Regards, >Sharon It's definitely an error from Format? or from the shell? I just hooked up two String interactors to Format with template "%s %s", both strings are "(test)" (no quotes of course) and Echo. Outputs "(test)(test)" as expected. No errors. OpenDX 4.1.0 on SGI 6.5. Chris Pelkie Vice President/Scientific Visualization Producer Conceptual Reality Presentations, Inc. 30 West Meadow Drive Ithaca, NY 14850 [EMAIL PROTECTED] --- End of forwarded mail from [email protected]
