Re: Namespaces

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 8 Jun 2004, at 13:06, cklester wrote:

> 
> 
> posted by: cklester <cklester at yahoo.com>
> 
> 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" )

Is GetAFile() different from the getf() in file.e ?

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu