Re: Namespaces
- Posted by cklester <cklester at yahoo.com> Jun 08, 2004
- 572 views
irv mullins wrote: > > cklester wrote: > > > > > irv mullins wrote: > > > > > > > > > Hmm. Come to think of it, we could have "merge otherfile.e", which > > > would simply insert whatever was in otherfile.e into the code, as well > > > as something like "merge otherfile.e as myvar", which would read it > > > into an already declared constant or variable. > > > > uh... say what? > > <font color="#330033"></font> > <font color="#FF00FF">sequence </font><font color="#330033">license</font> > <font color="#330033">merge GPL_license.txt as license</font> > <font color="#FF0055">-- or perhaps better would be:</font> > <font color="#330033">import GPL_license.txt into license</font> > <font color="#330033"></font> > <font color="#FF00FF">puts</font><font color="#330033">(1,license)</font> > <font color="#330033"></font> Oh! Basically reading in a textfile, right? I thought you meant something like: sequence myInclude merge some_include_file.ew as myInclude junk = myInclude:some_function() I don't think merging a text file into a variable is really necessary at that level. Why not just sequence myText myText = GetAFile( "GPL License.txt" ) ?