Re: Euphoria 4.0 appears to problematic

new topic     » goto parent     » topic index » view thread      » older message » newer message
mcwong said...

I have used 3.11 for quite sometime and decided to try version 4.

Thank you for trying it out.

mcwong said...

It appears to be very troublesome, probably because of the documentation where the sample codes do not work.

Can you please tell us which samples do not work? We need to fix those documentation errors.

mcwong said...

Constants such as CONSOLE, KEYBOARD, as given in the sample throws out error msg.

There are no examples in the V4 documentation that uses either of these symbols. Are you sure you are looking at version 4 samples and not version 3 samples?

mcwong said...

Even "namespace io" throws "errors resolving the following references".

What do you mean? Can you give me some sample code that does this? For example, the code below has this statement and does not give me any errors.

namespace io 
printf(1, "Hello word") 

Maybe you are misunderstanding what that statement means.

The "namespace" statement defines the default namespace for the current file, which can be used by other files that include the file containing the namespace statement.

Let's say I have the following file...

-- xyz.e -- 
namespace kkk 
public constant CONST = 1 


and another file ...

-- myapp.ex -- 
include xyz.e 
? kkk:CONST -- uses the default namespace defined inside xyz.e 
mcwong said...

running on win XP, statements such as if platform()=LINUX throws an error

While the platform() function is a built-in one, the LINUX symbol is not. And thus you need to include the file in which LINUX is defined. Your program needs the line ...

include std/os.e 
mcwong said...

I really cannot describe the problems compared to v3.11. I'm using RC 2.

Are you running DOS applications written for v3? These will not work as the DOS platform is no longer supported.

It would be very helpful of you if you could tell us what exactly is causing issues to appear. We cannot help fix things if we have to guess what your problems are. Can you show us error messages and the source code that goes with these messages?

mcwong said...

Also documentation is at best sketchy especially on using win32lib

What can't you find in the V4 documentation?

Also, Win32lib is not part of Euphoria. It is an independent library and has no connection with the development of Euphoria.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu