DCSAY compilation problem

This forum is for eXpress++ general support.
Post Reply
Message
Author
Piotr D
Posts: 131
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

DCSAY compilation problem

#1 Post by Piotr D »

Roger,
I have installed new version (263) of Express. During compilation becam an error XBT0205: Unterminated string
in line:
@ 4,22 DCSAY {||IIF(P_DATAZW#SPACE(6).AND.P_FORMAZW#'00','[zwolnion'+IF(P_PLEC='K','a ','y ')+TRANSFORM(UZU_20(P_DATAZW),"@R 9999.99.99")+']',SPACE(25))}

When I change this linie so:
@ 4,22 DCSAY {||IIF(P_DATAZW#SPACE(6).AND.P_FORMAZW#'00','[zwolnion'+IF(P_PLEC='K','a ','y ')+TRANSFORM(UZU_20(P_DATAZW),'@R 9999.99.99')+']',SPACE(25))}

(also ' instead " in TRANSFORM) compilation is without problem.
With old version of Express (244 :) ) compilation was without problem.

Regards
Piotr

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

Re: DCSAY compilation problem

#2 Post by rdonnay »

Send me your DCDIALOG.CH from build 244. I need to compare that file to build 263.
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: DCSAY compilation problem

#3 Post by rdonnay »

I am concerned that DCDIALOG.CH may be growing too large to handle such a complex code block during pre-processing.
There is a simple solution though until I figure this out:

Code: Select all

bCode := {||IIF(P_DATAZW#SPACE(6).AND.P_FORMAZW#'00','[zwolnion'+IF(P_PLEC='K','a ','y ')+TRANSFORM(UZU_20(P_DATAZW),"@R 9999.99.99")+']',SPACE(25))}

@ 4,22 DCSAY bCode
The eXpress train is coming - and it has more cars.

Piotr D
Posts: 131
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

Re: DCSAY compilation problem

#4 Post by Piotr D »

Roger,
here is DCDialog.CH from version 244. As I say, when I change in this line character " with '
(TRANSFORM... "@R 9999.99.99" change to TRANSFORM..'@R 9999.99.99') compilation give
no error.

Piotr
Attachments
dcdialog.zip
(38.45 KiB) Downloaded 738 times

Post Reply