Author Topic: error with the latest Oxygen DLL  (Read 11982 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Guest
Re: error with the latest Oxygen DLL
« Reply #15 on: April 21, 2014, 08:34:15 AM »
Apart from occasional header fixes, further C syntax (c pointers & arrow notation etc)  has a low priority at present.

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #16 on: April 23, 2014, 10:30:10 PM »
Quote
Aurel, can you please provide an example of the string problem

Charles
Because i keep old oxygen dll-s i have tested my programs with this older versions
and in all this thing work properly but not in this new.
look in screenshot ...
it seems that parser not recognize keyword As properly  ???

.

Charles Pegge

  • Guest
Re: error with the latest Oxygen DLL
« Reply #17 on: April 24, 2014, 01:39:58 AM »
Thanks Aurel,

Could you try this release, an see what happens. I have removed 'as' as a casting keyword. I don't think anyone is using it for casting.

http://www.oxygenbasic.org/o2zips/Oxygen.zip

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #18 on: April 24, 2014, 03:44:28 AM »
Ok Charles
But i am not sure what kind of casting is here  ???
In older versions there is no PASS 2..right?
And with this new PASS 2 detect keyword As as casting
which is really weird..right?
ok i will try right now... ;)

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #19 on: April 24, 2014, 03:50:22 AM »
Well with this dll error message is strange again ?
look in screenshot  :o


.

Charles Pegge

  • Guest
Re: error with the latest Oxygen DLL
« Reply #20 on: April 24, 2014, 05:48:14 AM »
Try this one. It will now report the line number, and include-file where the error occured.

It thinks that you are trying to "or" some string operands together :)

http://www.oxygenbasic.org/o2zips/Oxygen.zip

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #21 on: April 24, 2014, 08:41:50 AM »
Quote
It thinks that you are trying to "or" some string operands together

Charles i don't know , code for that part is the same ..nothing is changed
And how in the world work with older version ?

Ok i will try with new one again.

PS.IF again not work i will post complete code with old dll in which work that you can try
directly what is wrong ...

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #22 on: April 24, 2014, 09:19:30 AM »
Charles
something is very wrong with last dll because (as you can see from screenshot)
oxygen point in include file  Line :2674
But awinh.inc have only 1430 lines  :o
second
when i look into main code in line .2674 then
oxygen don't recognize operator OR in this line:
 
While (Look = "*" Or Look = "/")

what is a nonsense ..right?
and i repeat work perfectly in older oxygen.dll ( not in last two release )
in attachment is source code so you can try compile...


.
« Last Edit: May 03, 2014, 05:44:34 AM by Aurel »

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #23 on: April 24, 2014, 09:27:55 AM »
And here is version of dll which work fine.
I really don't know which version is but i am sure that are not two latest.
 :-\


.

JRS

  • Guest
Re: error with the latest Oxygen DLL
« Reply #24 on: April 24, 2014, 09:40:27 AM »
For Aurel.



Best part, Aurel will never appreciate the humor as translators don't work with images.  :)

Peter

  • Guest
Re: error with the latest Oxygen DLL
« Reply #25 on: April 24, 2014, 10:26:37 AM »
Not bad,  John  ;D

 

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #26 on: April 24, 2014, 12:57:25 PM »
Yes work for that small example
but try compile ruben2 then tell me if compile ok on your computer?
and why compiler point on error in include file instead in main source ?

PS
Peter
This dll which work fine you post on my forum in OxyBasic package.

Charles Pegge

  • Guest
Re: error with the latest Oxygen DLL
« Reply #27 on: April 24, 2014, 01:33:37 PM »

Thanks for posting your source, Aurel. I am on the case.

Aurel

  • Guest
Re: error with the latest Oxygen DLL
« Reply #28 on: April 24, 2014, 01:39:51 PM »
No problem Charles about that at all.
You will see that something is really ...really strange.

Charles Pegge

  • Guest
Re: error with the latest Oxygen DLL
« Reply #29 on: April 25, 2014, 03:33:25 AM »
Aurel,

This one compiles and runs your code as far as the "No Source" message.

Some of the expressions you use generate complex assembly code. So it's a good stress test for the compiler :)

http://oxygenbasic.org/o2zips/Oxygen.zip
« Last Edit: April 25, 2014, 09:17:38 AM by Charles Pegge »