Author Topic: Error: Unclosed quote  (Read 1540 times)

0 Members and 1 Guest are viewing this topic.

Arnold

  • Hero Member
  • *****
  • Posts: 677
Error: Unclosed quote
« on: February 04, 2015, 03:04:00 AM »
Hi Charles,

as I always use your latest build of Oxygen to explorre the demos (this version: A40 06:21 03/02/2015), I noticed that the projectsB\Iup demos will not work with this version:

ERROR:   Unclosed quote
WORD:    #define
LINE:    15
FILE:    iup\iupkey.h
PASS:    1
 
These demos worked before so maybe something is missing now in Oxygen?

Roland

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3751
    • Oxygen Basic
Re: Error: Unclosed quote
« Reply #1 on: February 04, 2015, 04:01:36 AM »
Thanks Roland

This is the offending line:

#define K_quotedbl    '\"'  /* 34 */

Fixed!

Oxygen Update
http://www.oxygenbasic.org/o2zips/Oxygen.zip
« Last Edit: February 04, 2015, 06:36:34 AM by Charles Pegge »

Arnold

  • Hero Member
  • *****
  • Posts: 677
Re: Error: Unclosed quote
« Reply #2 on: February 06, 2015, 06:12:11 AM »
Hi Charles,

hopefully I do not get on your nerves as I might report things which you already know. The Iup examples now run again, but I get some new preprocessor errors with files which I was able to run in SciTe with the version A40 06:21 03/02/2015.

I have tried to set up a table with the last four versions of OxygenBasic. Maybe I did not catch all preprocessor messages. The text file was edited with SciTe and should be readable. The demos were tested on my system with Windows Vista 32bit as I had not yet the time to set up my new netbook with Win 8.1 64bit.

There are somme other messages, but maybe they go away after your next build. I am aware that there can always be some side effects after changíng some code in such a complex project.

Roland

.

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3751
    • Oxygen Basic
Re: Error: Unclosed quote
« Reply #3 on: February 06, 2015, 08:35:57 AM »
Thanks Roland,

Another fix:

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


This one is waiting to be refactored for o2


c:\oxygenbasic\projectsA\InProgress\ImageAlg    
    
FractalMandCP14.o2bas
    
a + b)                               c)                                d)               
                                     PREPROCESSOR
ERROR:   Unidentified operand         ERROR:    Unclosed quote         ERROR:   Unidentified operand         
WORD:    tbgl_createwindowex          WORD:                             WORD:    tbgl_createwindowex             
LINE:    11                           LINE:                             LINE:    11    
PASS:    1                                                              PASS:    1

Arnold

  • Hero Member
  • *****
  • Posts: 677
Re: Error: Unclosed quote
« Reply #4 on: February 06, 2015, 12:39:07 PM »
Hi Charles,

with the updated Oxygen.dll above all the "preprocessor" and "unclosed quotes" messages have disappeared.

In the moment I try to modify some demos with 'deprecated' statements in order to run them - a good exercise for me.

Then there are some demos left with OOP and ASM ERROR, but they are a little bit too complicated for me.

Roland