<font size=2 face="sans-serif">Pablo, Slavoed,</font><br><font size=2 face="sans-serif">Your responses are interesting, but
I routinely use comments to the right of a line, i.e., no # or * as the
first character. The comment portion must be separated from (and
to the right of the active portion of the line) by ';' followed by a '*'
or '#' then a comment (one or more spaces may separate the '*' or '#' and
the comment). However, I don't know if this is true for all versions.
I am currently using version 1.9.0-rc1 on a Windows XP. I have
not tried on non-Windows or later versions.</font><br><font size=2 face="sans-serif">Stephen</font><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>Pablo Romero <romero619@HOTMAIL.COM></b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><p><font size=1 face="sans-serif">02/26/2009 02:04 PM</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>GRADSUSR@LIST.CINECA.IT</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Re: possible to improve Grads for some
deficiencies?</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><tt><font size=2>I took a look at the grads source code, and from what
I see/understand, commenting only works if the first character on a line
is either '*' or '#', so attempting to comment anywhere else on a line
won't work. I also tested this and confirmed that it doesnt work.<br></font></tt><br><tt><font size=2>Unfortunately, this is hard-coded into the 'gs script'
parsing code within the grads source code; it would need to be re-coded
by COLA.<br></font></tt><br><tt><font size=2>I would recommend adding it as a feature request within
the tracker on the GRADS sourceforge site:<br></font></tt><br><a href="http://sourceforge.net/tracker/?atid=821185&group_id=161773&func=browse"><tt><font size=2>http://sourceforge.net/tracker/?atid=821185&group_id=161773&func=browse</font></tt></a><tt><font size=2><br></font></tt><br><tt><font size=2>Pablo<br></font></tt><br><tt><font size=2>________________________________<br>> Date: Thu, 26 Feb 2009 13:48:10 -0600<br>> From: smcmillan@PLANALYTICS.COM<br>> Subject: Re: possible to improve Grads for some deficiencies?<br>> To: GRADSUSR@LIST.CINECA.IT<br>><br>> Slovoed,<br>> 1. Do you mean the expression<br>> "return" or an end-of-line return (as when pressing the
Enter<br>> key)? If the former, "return" required at end of function,<br>> otherwise you should include a "return" (carriage return)
after<br>> last line of script. However, I am referring to Windows versions--don't<br>> know about others.<br>> 2. The * (or #) is not needed<br>> in the first column for commenting. You can also place it at the<br>> end of a line, for example:<br>><br>> prompt 'What is your name? '*<br>> Last name only<br>> pull myname<br>> prompt 'What is your age? '# Age<br>> in whole years only<br>> pull myage<br>><br>> Stephen<br>><br>><br>> slovoed slovoed<br>> Sent by: GRADSUSR@LIST.CINECA.IT<br>><br>> 02/26/2009 04:09 AM<br>> Please respond to<br>> GRADSUSR@LIST.CINECA.IT<br>><br>> To<br>> GRADSUSR@LIST.CINECA.IT<br>> cc<br>> Subject<br>> possible to improve Grads for some deficiencies?<br>><br>><br>><br>><br>> hi,<br>><br>> I have been using Grads for many years. As I know, there<br>> are some deficiencies in Grads I can not slove it since I have no
knowledge<br>> about the source code of Grads.<br>><br>> 1. on the last line of script, one "Return"<br>> must be added, otherwise it fail to run the last line.<br>><br>> 2. * is used to comment some certain lines in script,<br>> but * must be placed in the first column, otherwide will report the
error.<br>> It's not useful to let the script nice-looking and easy to read. Does<br>> it like matlab, * can be placed anywhere for commenting.<br>><br>> The points above might be easily solved by code developer,<br>> aren't they?<br>><br>><br>> slovoed<br>><br>><br>><br>><br>><br>><br>> ***************************************************<br>><br>> The information contained in this e-mail message is intended only
for the use of the recipient(s) named above and may contain information
that is privileged, confidential, and/or proprietary. If you are not the
intended recipient, you may not review, copy or distribute this message.
If you have received this communication in error, please notify the sender
immediately by e-mail, and delete the original message.<br>><br>> ***************************************************<br>_________________________________________________________________<br>Windows Live™: Discover 10 secrets about the new Windows Live.<br></font></tt><a href="http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009"><tt><font size=2>http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009</font></tt></a><br><br><BR>
<BR>
***************************************************<BR>
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.<BR>
***************************************************<BR>