<div class="gmail_quote">2008/3/6 Stephen R McMillan <<a href="mailto:smcmillan@planalytics.com">smcmillan@planalytics.com</a>>:<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. 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'm sending another example to see if someone in the user community
may have an "aha!" answer. I'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've also included text of script here for
convenience.</font><br></blockquote><div><br class="webkit-block-placeholder"></div><div>I've a similar script you sent me before on my installation and it worked just fine.</div><div> </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='d:\temp\apr06.txt'</font></blockquote><div><br class="webkit-block-placeholder">
</div><div>Try using POSIX fiile names: d:/temp/apr06.txt. Is the file apr06.txt MS-DOS or Unix-style text files?</div><div> </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'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> </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'll look into this issue next week. The idea is to have it all working transparently. </div><div><br class="webkit-block-placeholder">
</div><div> Arlindo</div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>