On Tue, 1 Sep 2020, Allin Cottrell wrote:
On Tue, 1 Sep 2020, Sven Schreiber wrote:
> Hi, here's another thing that I just found which might be strange; see
> this minimal example script:
>
> <hansl>
>
> set echo off
> outfile markercheck.txt
> printf "\"United Kingdom\""
> end outfile
>
> nulldata 1
> markers --from-file=markercheck.txt
>
> </hansl>
>
> This works without errors, but when I double-click on the index series I
> see as the obs marker the following literal string with only opening,
> but not closing, quotes:
>
> "United Kingdom
>
> Somehow this looks troublesome, no?
You're hitting the 16-character limit on observation markers, OBSLEN in the
code.
P.S. markers --from-file handles embedded spaces without requiring
quotation. So if you did
print "United Kingdom"
instead of
printf "\"United Kingdom\""
in your outfile block you'd get what I presume is the desired
result.
Allin