VECTOR/READ in free FORMAT


PAW version:2.08/14
Description
Reading in a long vector with a free FORMAT fails if there are more than a certain number of characters per line.

The following macro shows the problem :

ve/cr x(12000)
ve/re x vec2bad.dat
* N.B. long lines with more than 50 tokens in vec2bad.dat
ve/print x(2000:2012)
ve/print x(7000:7012)
ve/print x(11000:12000)
*
return
with vec2bad.dat being the following line repeated 250 times:

01 02 03 04 05 06 07 08 09 10 11 12 01 02 03 04 05 06 07 08 09 10 11 12 01 02 03
 04 05 06 07 08 09 10 11 12 01 02 03 04 05 06 07 08 09 10 11 12 01 02 03 04 05 0
6 07 08 09 10 11 12 01 02 03 04 05 06 07 08 09 10 11 12 01 02 03 04 05 06 07 08
09 10 11 12 01 02 03 04 05 06 07 08 09 10 11 12
...
Fixed in: KUIP 2.07/14
Workaround
Change format in your data file (80 characters or less, and less that 50 tokens in each line).


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch