Re: including part of files ?
- To: mathgroup at smc.vnet.net
- Subject: [mg74549] Re: including part of files ?
- From: Bill Rowe <readnewsciv at sbcglobal.net>
- Date: Sun, 25 Mar 2007 01:30:06 -0500 (EST)
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