[Date Index] [Thread Index] [Author Index]
Re: including part of files ?
On 3/23/07 at 7:14 PM, bar at ap.krakow.pl wrote: >Is it possible to include/insert files as part of notebook or *. >files? Yes. The details of how to do this would depend on what behavior you want. One possibility would be you want the contents of other files to be displayed in the notebook. If so, functions like Read, ReadList and Import will do what you want. Another possibility is you want some sequence of operations to occur when the file is read but don't care if the contents are displayed in the notebook. If this is the case, then simply create a text file with valid Mathematica code and save the file with a .m on the end of the filename. Then doing <<filename will load the file and execute all of the code in that file. -- To reply via email subtract one hundred and four