1. series gives error

http://openeuphoria.org/docs/eu400_0077.html

As per documentation: 8.4.3.1 series

include std/sequence.e 
 
? series( 1, 4, 5) 

Error:
./sequence_example.ex:4 
<0074>:: Errors resolving the following references: 
    ./sequence_example.ex (4): series 
 
? series( 1, 4, 5) 
        ^ 

new topic     » topic index » view message » categorize

2. Re: series gives error

Anthill said...

http://openeuphoria.org/docs/eu400_0077.html

As per documentation: 8.4.3.1 series

include std/sequence.e 
sequence s 
? series( 1, 4, 5) 

Error:
./sequence_example.ex:4 
<0074>:: Errors resolving the following references: 
    ./sequence_example.ex (4): series 
 
? series( 1, 4, 5) 
        ^ 

What is the output of eui -version ?

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

3. Re: series gives error

4.0.0 for linux.

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

4. Re: series gives error

Anthill said...

4.0.0 for linux.

Hasn't been released yet. RC1 comes out tomorrow. :)

I looked at sequence.e and I see that when beta4 was released, series() was called linear(). It was renamed a little over a month ago, after beta4...

This makes me wonder if we still need the entry for can_add(), if we no longer have one for linear().

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

5. Re: series gives error

I used the following to get the version. I know it was beta but 40000 was the output

include /usr/share/euphoria/include/euphoria/info.e 
? version() 
new topic     » goto parent     » topic index » view message » categorize

6. Re: series gives error

Certainly, we should have entries for all of the old names for things that have been renamed. It is also helpful to say things like: "series used to be called linear() in the beta releases." The function binop_ok used to be called can_add() in the beta series.

I remember trying to use can_add and getting an error. If an entry can_add had existed *then* it would have saved me quite some time figuring out why I was getting an error and the new name for this function. That is why I added it. Every time someone posts to the forums is an indication of more than one losing time with the same issue.

Shawn Pringle

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

7. Re: series gives error

Try version_revision() for the EUPHORIA version.

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

8. Re: series gives error

C:\Projects> eui -version 
Euphoria Interpreter 4.0.0 development (r3828) for Windows 
Using Managed Memory 

is helpful also. Tells the Major, Minor, Patch and SVN Revision (if development version).

Jeremy

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

9. Re: series gives error

Thanks for the -version tip.

eui -version 
Euphoria Interpreter 4.0.0 Beta 4 (r3376) for Linux 
Using System Memory 

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

Search



Quick Links

User menu

Not signed in.

Misc Menu