Please enable JavaScript to view this site.

A-Shell Development History

The WRITECD ARY() statement (to write out all the elements of the array in delimited format) now supports numeric array types as well as GRIDMAPs. Previously only string arrays were supported. Note that in the GRIDMAP case, the output starts at row 1; anything prior to that is considered internal control information and omitted from the output. For example:

dimx $csvmap, gridmap(int;varstr;varstr)

 

open #1, csvin$, input

input csv #1, $csvmap()   ! input entire file into gridmap

close #1

 

open #2, csvout$, output

writecd csv #2, $csvmap()   ! output entire gridmap to file

close #2

 

Note that the above example would also work with gridmap(int;int;varstr).