1. Phix : Block comments not working as expected.

Hi Pete

Computer Windows 8.1 64 nit Running Phix 32 bit Running Edita -> Tools -> Window Painter

ex.err

d:\phix\demo\edita\eawpaint.exw:72 
<0052>:: can't find 'builtins\machine.e' in any of ... 
        d:\phix\demo\edita 
        d:\phix\demo\edita\eawpaint.exw 
        C:\WinApps\euphoria32\include 
        C:\WinApps\euphoria32\win32lib\include 
        C:\WinApps\euphoria32\wxEuphoria\include 
        c:\euphoria\include 
        C:\Euphoria 
 
include builtins\machine.e 

offending block

--/* 
include builtins\machine.e 
include builtins\misc.e 
include builtins\sort.e 
include builtins\file.e 
include builtins\dll.e 
include builtins\ppp.e 
include builtins\get.e 
include arwen\misc_arwen.e 
include arwen\message_box.ew 
include arwen\constants.ew 
include arwen\dll_links.ew 
include arwen\structures.ew 
include arwen\Quick_Allocations.ew 
include arwen\classes.ew 
include arwen\imagelists.ew 
--*/ 
include ..\arwen\arwen.ew 

Commenting those out the the original way -- gets the program going, but then there are knock ons (eg

d:\phix\demo\edita\..\arwen\arwen.ew:645 
<0097>:: hex number not formed correctly 
    #ilASM{ 
     ^ 

But this is also in a commented block section.

Cheers

Chris

new topic     » topic index » view message » categorize

2. Re: Phix : Block comments not working as expected.

Those messages are from eui, not phix.

It may be you are running edita with eui, or there is something in Options/File Extensions...

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

3. Re: Phix : Block comments not working as expected.

The arwen error is a mistake (from many many moons ago) - that whole block of 30-odd lines should just be deleted.

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

4. Re: Phix : Block comments not working as expected.

ChrisB said...

Hi Pete

Computer Windows 8.1 64 nit Running Phix 32 bit Running Edita -> Tools -> Window Painter

ex.err

d:\phix\demo\edita\eawpaint.exw:72 
<0052>:: can't find 'builtins\machine.e' in any of ... 
        d:\phix\demo\edita 
        d:\phix\demo\edita\eawpaint.exw 
        C:\WinApps\euphoria32\include 
        C:\WinApps\euphoria32\win32lib\include 
        C:\WinApps\euphoria32\wxEuphoria\include 
        c:\euphoria\include 
        C:\Euphoria 
 
include builtins\machine.e 

offending block

--/* 
include builtins\machine.e 
include builtins\misc.e 
include builtins\sort.e 
include builtins\file.e 
include builtins\dll.e 
include builtins\ppp.e 
include builtins\get.e 
include arwen\misc_arwen.e 
include arwen\message_box.ew 
include arwen\constants.ew 
include arwen\dll_links.ew 
include arwen\structures.ew 
include arwen\Quick_Allocations.ew 
include arwen\classes.ew 
include arwen\imagelists.ew 
--*/ 
include ..\arwen\arwen.ew 

Commenting those out the the original way -- gets the program going, but then there are knock ons (eg

d:\phix\demo\edita\..\arwen\arwen.ew:645 
<0097>:: hex number not formed correctly 
    #ilASM{ 
     ^ 

But this is also in a commented block section.

Cheers

Chris

"  --/*  " 
The "--" part is the active part and therefore  /*  is not taken as a block starter but just a part of a comment.\\ 

Therefore all those includes after the   --/*   are really active includes. 
 
The same argument applies to the end where you are saying    --*/  . \\ 
 There again the characters "  */  " are treated as a comment on that line only. 
 
If you start your block with   /*   and end with   */   , you will have created a proper comment block. 
new topic     » goto parent     » topic index » view message » categorize

5. Re: Phix : Block comments not working as expected.

Hi

No, I'm running Edita with Phix, but that's very interesting. It means that the Eu environment variables are interfering with Phix.

Thanks

Chris

Just found that options / file extensions was pointing to exw.exe (which I had for compatability with IDE - it was just a copy of eui), and not the environment variable.

Chris

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

6. Re: Phix : Block comments not working as expected.

Just in case it helps:
I never modified the OE paths when I moved Edita from C:\Program Files\Edita to C:\Program Files\Phix\demo\Edita.
I have just pushed a commit named "eawpaint on eui" to https://bitbucket.org/petelomax/phix/commits/all with enough to get it going, but obviously not tested it much.

Pete

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

7. Re: Phix : Block comments not working as expected.

Hi pete

Once I changed the options tools calling program to Phix, the error went away. this is just part of my Phix learning process.

I have tried various other eu programs - particularly eusqlite, euallegro (4 not 5), and several programs written with the IDE win32lib, I am fairly convinced that Phix is faster in some cases (Phix euallegro startup is very fast compared to eu), and has reached a level of maturity that that has made me want to switch from Eu to Phix.

My experiments continue. I shall start a blog (probably infrequently updated) with the results.

Cheers

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu