xdot

This forum is for eXpress++ general support.
Post Reply
Message
Author
omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

xdot

#1 Post by omni »

Quick question,

Xdot errors whenever we try a copy to a delimited. We create csv files a lot and use xdot sometimes to test, but have to run those using a program due to the error.

Is there a special method in xdot

use somefile
copy to somenewfile delimited.


Fred
Omni

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

Re: xdot

#2 Post by rdonnay »

There is a bug in DCSTD.CH, line 262. Here is a fix:

Code: Select all

WAS:

#Command COPY TO <(file)> DELIMITED [WITH <*delim*>] [FIELDS <fields,...>]                   ;
         [FOR <for>] [WHILE <while>] [NEXT <next>]                                           ;
         [RECORD <rec>] [<rest:REST>] [VIA <(rdd)>] [ALL] [<x:EXIT>]          ;
         [<lNoProgress:NOPROGRESS>]   ;
         => ;
         DC_dbExport(<(file)>,{<(fields)>},                                                    ;
         <{for}>,<{while}> ;  <<< missing comma
         <next>,<rec>,<.rest.>,"DELDBE",<(delim)>,,,,,<.x.>,[!<.lNoProgress.>]) 

IS: 

#Command COPY TO <(file)> DELIMITED [WITH <*delim*>] [FIELDS <fields,...>]                   ;
         [FOR <for>] [WHILE <while>] [NEXT <next>]                                           ;
         [RECORD <rec>] [<rest:REST>] [VIA <(rdd)>] [ALL] [<x:EXIT>]          ;
         [<lNoProgress:NOPROGRESS>]   ;
         => ;
         DC_dbExport(<(file)>,{<(fields)>},                                                    ;
         <{for}>,<{while}>, ;  <<< add comma
         <next>,<rec>,<.rest.>,"DELDBE",<(delim)>,,,,,<.x.>,[!<.lNoProgress.>])
The eXpress train is coming - and it has more cars.

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: xdot

#3 Post by omni »

Perfect. Thanks a bunch.

Post Reply