eXpress++ Build 259

This forum is for eXpress++ general support.
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: eXpress++ Build 259

#11 Post by rdonnay »

That URL doesn't work.

Can you simply show the line(s) of code that give a syntax error?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: eXpress++ Build 259

#12 Post by Eugene Lutsenko »

I'm sorry, it is not clear why does not work. Change the extension "prg->txt" and then earned

http://lc.kubagro.ru/Dima/a.txt
http://lc.kubagro.ru/Dima/a.doc

DOS Cyrillic Encoding

Tried to compile colorview.prg, writes that:

Code: Select all

D:\ALASKA\AIDOS-X\Graph>CLS

D:\ALASKA\AIDOS-X\Graph>XPP colorview_new 

D:\ALASKA\AIDOS-X\Graph>ALINK colorview_new /PM:PM 
Alaska 32-Bit Linker Version 1.90.355
Copyright (c) Alaska Software 1997-2009. All rights reserved.

colorview_new.obj: error ALK2102: unresolved external symbol COPY_2CLIPBOARD
ALINK: fatal error ALK4102: 1 external symbols unresolved

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: eXpress++ Build 259

#13 Post by rdonnay »

I don't know what colorview_new is.

This is NOT part of eXpress++
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: eXpress++ Build 259

#14 Post by rdonnay »

The syntax problem you are having is related to the below code in your source file.

Something has happened that is interfering with the pre-processor and it doesn't like the \[1] anymore.

I am trying to figure out what has happened.

Code: Select all

#xtrans  CenterPos( <aSize>, <aRefSize> ) => ;
         { Int( (<aRefSize>\[1] - <aSize>\[1]) / 2 ) ;
         , Int( (<aRefSize>\[2] - <aSize>\[2]) / 2 ) }
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: eXpress++ Build 259

#15 Post by rdonnay »

I figured out what was causing the problem. There was a syntax error in DCPRINT.CH due to an added feature.
The Xbase++ pre-processor never caught the syntax error but instead created a different syntax error that was totally unrelated, this making it very difficult to debug.

Code: Select all

 
On line 447 of DCPRINT.CH change this:

                [ <lXPSWriter:XPSWRITER,XPSVIEWER>  [_XPSWRITER <_ixps>] ;

to this:
 
                [ <lXPSWriter:XPSWRITER,XPSVIEWER> ] [_XPSWRITER <_ixps>] ;
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: eXpress++ Build 259

#16 Post by Eugene Lutsenko »

I've got to make good what I wanted, practically almost unchanged using demo3.prg Color table-1. This function F1_6 (). Text programs on the same links that I cited above. I'm using exp19258.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: eXpress++ Build 259

#17 Post by Eugene Lutsenko »

rdonnay wrote:I figured out what was causing the problem. There was a syntax error in DCPRINT.CH due to an added feature.
The Xbase++ pre-processor never caught the syntax error but instead created a different syntax error that was totally unrelated, this making it very difficult to debug.

Code: Select all

 
On line 447 of DCPRINT.CH change this:

                [ <lXPSWriter:XPSWRITER,XPSVIEWER>  [_XPSWRITER <_ixps>] ;

to this:
 
                [ <lXPSWriter:XPSWRITER,XPSVIEWER> ] [_XPSWRITER <_ixps>] ;
Of course, find such inaccuracy calculate practically impossible, especially for me. Thank you!

Another similar situation, it is using 259, arose from rmchart.ch: when compiling was a slight pause after the error was re-determination on line 450 of the file. I looked it were the last line. I simply commented out, and everything was working. Seen in your ch-files too, somewhere there is a definition.

http://lc.kubagro.ru/Dima/rmchart.ch

Now I can use the eXpress++ build 259, thank you so much!

Post Reply