<div class="gmail_quote">2008/3/6 Stephen R McMillan &lt;<a href="mailto:smcmillan@planalytics.com">smcmillan@planalytics.com</a>&gt;:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br><font size="2" face="sans-serif">Arlindo,</font><br><font size="2" face="sans-serif">I have been unable to figure out why
the V1.9.0-rc1 win32 superpack appears to handle strings differently than
v1.8SL11 does. &nbsp;So far, I have encountered this problem only when
reading text data files, but it is keeping me from applying many of my
data scripts in the newer version. I submitted something similar before,
but I&#39;m sending another example to see if someone in the user community
may have an &quot;aha!&quot; answer. I&#39;ve attached four text files, respectively
from left, (1) test script, (2) data file, (3) screen-dump output from
v1.9, and (4) output from v1.8. Both sessions were done on the same pc
with MS Windows XP Pro (SP2). I&#39;ve also included text of script here for
convenience.</font><br></blockquote><div><br class="webkit-block-placeholder"></div><div>I&#39;ve a similar script you sent me before on my installation and it worked just fine.</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><font size="2" face="Courier New"><a href="http://test19.gs" target="_blank">test19.gs</a>:</font><br><br><font size="2" face="Courier New">datfile=&#39;d:\temp\apr06.txt&#39;</font></blockquote><div><br class="webkit-block-placeholder">
</div><div>Try using POSIX fiile names: d:/temp/apr06.txt.&nbsp;Is the file apr06.txt MS-DOS or Unix-style text files?</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font size="2" face="sans-serif">The test19 script itself serves no useful
purpose other than to illustrate the differences. The v1.8 output is what
I expected from running it--no problem there. However, running the same
script in v1.9 produces a different result. It appears to handle the variables
differently than v1.8 does, e.g., numeric versus non-numeric. Any ideas?
Do we have to declare variables as strings, integers, etc. in v1.9?</font><br></blockquote><div><br class="webkit-block-placeholder"></div><div>I don&#39;t think so. I believe we are hitting same MS-DOS/Unix text file issue you encountered. I added some info to the wiki:</div>
<div>&nbsp;</div><div><a href="http://opengrads.org/wiki/index.php?title=Installing_GrADS_on_Microsoft_Windows#My_GrADS_script_that_reads_a_text_file_does_not_work">http://opengrads.org/wiki/index.php?title=Installing_GrADS_on_Microsoft_Windows#My_GrADS_script_that_reads_a_text_file_does_not_work</a>.<br class="webkit-block-placeholder">
</div><div><br class="webkit-block-placeholder"></div><div>I am away this week and I do not have access to Windows. I&#39;ll look into this issue next week. The idea is to have it all working transparently.&nbsp;</div><div><br class="webkit-block-placeholder">
</div><div>&nbsp;&nbsp; Arlindo</div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>