<br><font size=2 face="sans-serif">Where did the variable 'ht' come from?
&nbsp;Did you previously define it as your field variable? &nbsp;Stephen
Mc</font><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>Pablo Romero &lt;romero619@HOTMAIL.COM&gt;</b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><p><font size=1 face="sans-serif">01/08/2009 09:33 AM</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: scripting question about 'define'
and 'set defval'</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><font size=3>Stephen,</font><br><font size=3>I tried that initially, but it didnt work.</font><br><font size=3>I even tried say newvar and to see if it recognized newvar
but it just echoed &quot;newvar&quot; at the prompt.</font><br><font size=3>can you/anyone else test and confirm this?</font><br><font size=3>here are the exact lines from the script Im using...</font><br><font size=3>&nbsp;</font><br><font size=3>'define newvar=aave(myvar,x='x1',x='x2',y='y1',y='y2')'</font><br><font size=3>'set defval ht 'i' 'j' 'newvar</font><br><font size=3>*&nbsp; 'q define'</font><br><font size=3>* tmpvar=sublin(result,2)</font><br><font size=3>*&nbsp;tmpvar=subwrd(tmpvar,2)</font><br><font size=3>*&nbsp;'set defval&nbsp;myvar 'i' 'j' 'tmpvar</font><br><font size=3>&nbsp;</font><br><font size=3>again, the above didnt work, 'set defval' throws an error
because 'newvar' is empty/undefined.</font><br><font size=3>P.Romero</font><br><hr><br><br><font size=3>Date: Thu, 8 Jan 2009 00:13:28 -0600</font><br><font size=3>From: smcmillan@PLANALYTICS.COM</font><br><font size=3>Subject: Re: scripting question about 'define' and 'set
defval'</font><br><font size=3>To: GRADSUSR@LIST.CINECA.IT</font><br><br><br><font size=2 face="sans-serif">Pablo,</font><br><font size=2 face="sans-serif">I believe you should be able to do your
'set defval ht 'i' 'j' 'newvar &nbsp;immediately following the 'define
newvar...' line.</font><br><font size=2 face="sans-serif">Stephen</font><br><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>Pablo Romero &lt;romero619@HOTMAIL.COM&gt;</b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><font size=3></font><font size=1 face="sans-serif">01/07/2009 05:30 PM</font><font size=3></font><table border width=100%><tr valign=top><td width=100% bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to</font><br><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font></div></table><br><br><br><td width=59%><table width=100%><tr valign=top><td width=17%><div align=right><font size=1 face="sans-serif">To</font></div><td width=82%><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font><font size=3></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">scripting question about 'define' and
'set defval'</font></table><br><table width=100%><tr valign=top><td width=50%><td width=50%></table><br><br></table><br><br><font size=3>I think Im missing something obvious, but I cant feed
a variable created using 'define' into the 'set defval' function...</font><br><font size=3>right now, Im using 'query define' in order to retrieve
the value, but Im hoping there's a better, easier, more reliable way...</font><br><font size=3>&nbsp;</font><br><font size=3>'define newvar=aave(myvar,x='x1',x='x2',y='y1',y='y2')'</font><br><font size=3>'q define'</font><br><font size=3>&nbsp;</font><br><font size=3>*assuming newvar is the ONLY defined variable, I can do
this...</font><br><font size=3>'theVal=sublin(result,1)</font><br><font size=3>'theVal=subwrd(theVal,2)</font><br><font size=3>'set defval ht 'i' 'j' 'theVal</font><br><font size=3>&nbsp;</font><br><font size=3>is there a simpler way to access my 'newvar' value, without
having to 'query define' in order to get it?</font><br><font size=3>Please help, thanks...</font><br><font size=3>P.Romero</font><br><hr><br><br><font size=3>Windows LiveTM: Keep your life in sync. &nbsp;</font><a href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009"><font size=3 color=blue><u>Check
it out.</u></font></a><br><br><br><font size=3>***************************************************</font><br><font size=3>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.</font><br><font size=3>***************************************************</font><br><hr><br><br><font size=3>Windows Live&#8482;: Keep your life in sync. &nbsp;</font><a href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009"><font size=3 color=blue><u>Check
it out.</u></font></a><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>