EUINC not as advertised ?

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

Rob,

	Unless I am making a mistake in my testing (or I've misunderstood), the 
environment variable EUINC is not behaving according to the documentation.

	Here's the program I am running: (I have removed some blank lines.)
g:\eebob3>type g:\xyz.ex
include print.e
print( 1, command_line() ) puts(1, '\n')

include xxx.e

g:\eebob3>

	If I set the variables as follows,

g:\eebob3>SET EUDIR=G:\EUPHORIA
g:\eebob3>SET EUINC=C:\;J:\
g:\eebob3>dir g:\EUPHORIA\INCLUDE\xxx.e

  Volume in drive G is unlabeled      Serial number is 3BA5:F01D
File not found "G:\EUPHORIA\INCLUDE\xxx.e"
               0 bytes in 0 files and 0 dirs
   3,297,529,856 bytes free

g:\eebob3>dir j:\XXX.E

  Volume in drive J is COMPRESSED2    Serial number is 17E9:1115
  Directory of  J:\XXX.E

12-07-01   9:29p             42  XXX.E
              42 bytes in 1 file and 0 dirs    32,768 bytes allocated
         589,824 bytes free

g:\eebob3>ex
Euphoria Interpreter 2.3 alpha for 32-bit DOS.
Copyright (c) Rapid Deployment Software 2001
Permission is freely granted to anyone to copy and
redistribute this Public Domain Edition of Euphoria.

file name to execute? g:\xyz.ex
{"G:\\EUPHORIA\\BIN\\EX.EXE","g:\\xyz.ex"}
g:\xyz.ex:5
can't find xxx.e in g:
or in C:\;J:\
or in euphoria\include
include xxx.e
             ^
g:\eebob3>type j:\XXX.E
sequence x

puts(1, "This is XXX.E\n")
g:\eebob3>

If, however, I

g:\eebob3>SET EUINC=C:\;J:\;h:\EUPHORIA\INCLUDE\  --(this is my 2.2 
installation.)
g:\eebob3>type h:\EUPHORIA\INCLUDE\XXX.E
sequence x

puts(1, "This is XXX.E\n")

g:\eebob3>ex g:\xyz
{"G:\\EUPHORIA\\BIN\\EX.EXE","g:\\xyz"}
This is XXX.E
Warning: local variable x in xxx.e is not used

g:\eebob3>

	It seems that the interpreter is requiring the include path to be in some 
installation, under \EUPHORIA\INCLUDE\.  Is this what you intended?  It 
seems rather restrictive to me.  Anyone else notice this?

	BTW, I've tried this under command.com, 4DOS, WIN98 and DOS 6.20 on a 
different machine.

				Sincerely,

				Bob Elia

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

Search



Quick Links

User menu

Not signed in.

Misc Menu