[LON-CAPA-users] sharing variables among questions
lon-capa-users@mail.lon-capa.org
lon-capa-users@mail.lon-capa.org
Fri, 4 Mar 2005 13:46:31 -0500 (EST)
Sally,
You can create a .library file that has a script in it.
This library file can be imported into the problem.
For example, if you had a table of densities that you want to use in a
number of problems, you could set up density.library as a resource, place
a script in it which defines the values, then:
<import>density.library</import>
if the file is in the same directory, or the full path name
(/res/ohiou/chem/tables/density.library) if not.
The library needs to be a published resource.
Later,
Mark Lucas
On Fri, 4 Mar 2005, Sally Hunnicutt wrote:
> Hello,
>
> Is there a way to define variables that could be used in multiple
> problems? For example, let's say you want to use a set of molecular masses
> in several problems. Rather than copy the problems, is there a way to
> define a variable @mass that could be stored, and then 'called' from
> another specific problem?
>
> Sally
>
> Dr. Sally S. Hunnicutt
> Assistant Chair, Associate Professor
> VCU Department of Chemistry
> 1001 W. Main St.
> PO Box 842006
> Richmond VA 23284-2006
> 804-827-0531
> sshunnic@vcu.edu
>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>
----------------------------------------------------------------------------
Mark Lucas email: lucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701