1. Running Eusql opening Eusql database

Hello,
I am trying Euphoria 2.5.
I get this message running EUSQL.
c:\Euphoria\include\scripteval.e:29
call_op has not been declared
a = m:call_op(a)

new topic     » topic index » view message » categorize

2. Re: Running Eusql opening Eusql database

sixs wrote:
> 
> Hello,
> I am trying Euphoria 2.5.
> I get this message running EUSQL.
> c:\Euphoria\include\scripteval.e:29
> call_op has not been declared
> a = m:call_op(a)

call_op() is defined in matheval.e.  It should be included at the top
of scripteval.e.  It looks like you're putting library files right into
the euphoria\include folder.  I prefer to make subfolders for all the 
significant libraries that I use, and add them to my EUINC variable.

The only thing I can think of is that you have an old version of 
matheval.e being included somehow.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

3. Re: Running Eusql opening Eusql database

Thanks for your answer. I was looking at some other letters and I saw 
where the EUINC was C:\Euphoria\include\*. Is this a method you were 
commenting about or ?
Jim


Matt Lewis wrote:

>
>
>posted by: Matt Lewis <matthewwalkerlewis at yahoo.com>
>
>sixs wrote:
>  
>
>>Hello,
>>I am trying Euphoria 2.5.
>>I get this message running EUSQL.
>>c:\Euphoria\include\scripteval.e:29
>>call_op has not been declared
>>a = m:call_op(a)
>>    
>>
>call_op() is defined in matheval.e.  It should be included at the top
>of scripteval.e.  It looks like you're putting library files right into
>the euphoria\include folder.  I prefer to make subfolders for all the 
>significant libraries that I use, and add them to my EUINC variable.
>
>The only thing I can think of is that you have an old version of 
>matheval.e being included somehow.
>
>Matt Lewis
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: Running Eusql opening Eusql database

sixs wrote:
> 
> Thanks for your answer. I was looking at some other letters and I saw 
> where the EUINC was C:\Euphoria\include\*. Is this a method you were 
> commenting about or ?

I don't think so.  Here's my EUINC:

%EUDIR%\INCLUDE\WIN32LIB\INCLUDE;%EUDIR%\INCLUDE\EUCOM;
%EUDIR%\INCLUDE\MATHEVAL;%EUDIR%\INCLUDE\EUSQL;
%EUDIR%\INCLUDE\SPECIAL;%EUDIR%\INCLUDE\wxEuphoria

This way I can keep everything separate, without cluttering up the
original include directory.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

5. Re: Running Eusql opening Eusql database

Hello,
I entered these lines in XP the Environment


EUDIR c:\Euphoria
%EUDIR%\INCLUDE\EUSQL;%EUDIR%\INCLUDE\INC
The environment translated the %EUDIR% to 
c:\Euphoria.

I got errors so i put the include statements  in IDE include statements 
to get the program to run. What did I do wrong with the EUINC?
Jim


Matt Lewis wrote:

>
>
>posted by: Matt Lewis <matthewwalkerlewis at yahoo.com>
>
>sixs wrote:
>  
>
>>Thanks for your answer. I was looking at some other letters and I saw 
>>where the EUINC was C:\Euphoria\include\*. Is this a method you were 
>>commenting about or ?
>>    
>>
>I don't think so.  Here's my EUINC:
>
>%EUDIR%\INCLUDE\WIN32LIB\INCLUDE;%EUDIR%\INCLUDE\EUCOM;
>%EUDIR%\INCLUDE\MATHEVAL;%EUDIR%\INCLUDE\EUSQL;
>%EUDIR%\INCLUDE\SPECIAL;%EUDIR%\INCLUDE\wxEuphoria
>
>This way I can keep everything separate, without cluttering up the
>original include directory.
>
>Matt Lewis
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

6. Re: Running Eusql opening Eusql database

sixs wrote:
> 
> Hello,
> I entered these lines in XP the Environment
> 
> 
> EUDIR c:\Euphoria
> %EUDIR%\INCLUDE\EUSQL;%EUDIR%\INCLUDE\INC
> The environment translated the %EUDIR% to 
> c:\Euphoria.
> 
> I got errors so i put the include statements  in IDE include statements 
> to get the program to run. What did I do wrong with the EUINC?

This looks good to me, so I'm not sure...

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

7. Re: Running Eusql opening Eusql database

sixs wrote:
 > 
 > Hello,
 > I entered these lines in XP the Environment
 > 
 > 
 > EUDIR c:\Euphoria
 > %EUDIR%\INCLUDE\EUSQL;%EUDIR%\INCLUDE\INC
 > The environment translated the %EUDIR% to 
 > c:\Euphoria.
 > 
 > I got errors so i put the include statements  in IDE include statements 
 > to get the program to run. What did I do wrong with the EUINC?

I do not know what is that your XP the Environment,
and recommend just delete from this Environment
all your stuff about Euphoria.

Then just place the below autoexec.bat file on HD C:

rem autoexec.bat for XP
SET EUDIR=C:\EUPHORIA
SET EUINC=C:\EUPHORIA\INCLUDE\EUSQL;C:\EUPHORIA\INCLUDE\INC
rem end of autoexec.bat for XP

Restart machine.

Euphoria will search for include files in
the current directory, say,
C:\IDE
if you have such one, and run program here
then in the
C:\EUPHORIA\INCLUDE\EUSQL
directory, then in the
C:\EUPHORIA\INCLUDE\INC
directory, then in the
C:\EUPHORIA\INCLUDE
directory.

See, there are EUDIR and EUINC, these are different
environment variables.
If you have no EUINC, and I see you have NO it,
Euphoria will search for includes in
C:\IDE
and in
C:\EUPHORIA\INCLUDE
only.

Try please.

Regards,
Igor Kachan
kinz at peterlik.ru

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu