<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-compose;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='margin-bottom:12.0pt'>signoff gradsusr<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Where did the
variable 'ht' come from? &nbsp;Did you previously define it as your field
variable? &nbsp;Stephen Mc</span><br>
<br>
<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Pablo
  Romero &lt;<a href="mailto:romero619@HOTMAIL.COM">romero619@HOTMAIL.COM</a>&gt;</span></b><br>
  <span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Sent by: <a
  href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a></span><o:p></o:p></p>
  <p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>01/08/2009
  09:33 AM</span><o:p></o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0>
   <tr>
    <td valign=top style='background:white;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=center style='text-align:center'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Please respond to<br>
    <a href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a></span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  </td>
  <td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a
    href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a></span><o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Re:
    scripting question about 'define' and 'set defval'</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p class=MsoNormal><br>
<br>
Stephen,<br>
I tried that initially, but it didnt work.<br>
I even tried say newvar and to see if it recognized newvar but it just echoed
&quot;newvar&quot; at the prompt.<br>
can you/anyone else test and confirm this?<br>
here are the exact lines from the script Im using...<br>
&nbsp;<br>
'define newvar=aave(myvar,x='x1',x='x2',y='y1',y='y2')'<br>
'set defval ht 'i' 'j' 'newvar<br>
*&nbsp; 'q define'<br>
* tmpvar=sublin(result,2)<br>
*&nbsp;tmpvar=subwrd(tmpvar,2)<br>
*&nbsp;'set defval&nbsp;myvar 'i' 'j' 'tmpvar<br>
&nbsp;<br>
again, the above didnt work, 'set defval' throws an error because 'newvar' is
empty/undefined.<br>
P.Romero<o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
Date: Thu, 8 Jan 2009 00:13:28 -0600<br>
From: <a href="mailto:smcmillan@PLANALYTICS.COM">smcmillan@PLANALYTICS.COM</a><br>
Subject: Re: scripting question about 'define' and 'set defval'<br>
To: <a href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a><br>
<br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Pablo,</span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I believe you
should be able to do your 'set defval ht 'i' 'j' 'newvar &nbsp;immediately
following the 'define newvar...' line.</span><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Stephen</span><br>
<br>
<br>
<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Pablo
  Romero &lt;<a href="mailto:romero619@HOTMAIL.COM">romero619@HOTMAIL.COM</a>&gt;</span></b><br>
  <span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Sent by: <a
  href="mailto:GRADSUSR@LIST.CINECA.IT01/07/2009">GRADSUSR@LIST.CINECA.IT01/07/2009</a>
  05:30 PM</span><o:p></o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="100%" valign=top style='width:100.0%;background:white;
    padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=center style='text-align:center'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Please respond to</span><br>
    <span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a
    href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a></span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal style='margin-bottom:12.0pt'><br>
  <br>
  <o:p></o:p></p>
  </td>
  <td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="17%" valign=top style='width:17.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p>
    </td>
    <td width="82%" valign=top style='width:82.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a
    href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a></span><o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>scripting
    question about 'define' and 'set defval'</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="50%" valign=top style='width:50.0%;padding:.75pt .75pt .75pt .75pt'></td>
    <td width="50%" valign=top style='width:50.0%;padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p class=MsoNormal><br>
<br>
I think Im missing something obvious, but I cant feed a variable created using
'define' into the 'set defval' function...<br>
right now, Im using 'query define' in order to retrieve the value, but Im
hoping there's a better, easier, more reliable way...<br>
&nbsp;<br>
'define newvar=aave(myvar,x='x1',x='x2',y='y1',y='y2')'<br>
'q define'<br>
&nbsp;<br>
*assuming newvar is the ONLY defined variable, I can do this...<br>
'theVal=sublin(result,1)<br>
'theVal=subwrd(theVal,2)<br>
'set defval ht 'i' 'j' 'theVal<br>
&nbsp;<br>
is there a simpler way to access my 'newvar' value, without having to 'query
define' in order to get it?<br>
Please help, thanks...<br>
P.Romero<o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal><br>
<br>
Windows LiveTM: Keep your life in sync. &nbsp;<a
href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009">Check
it out.</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>
***************************************************<o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal><br>
<br>
Windows Live&#8482;: Keep your life in sync. &nbsp;<a
href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009">Check
it out.</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>
***************************************************<o:p></o:p></p>

</div>


<p><span style="font-family:'Arial';font-size:8pt;">**********************************************************************</span></p>
<p><span style="font-family:'Arial';font-size:8pt;">This communication contains information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), disclosure, copying, distribution, or other use of, or action taken or omitted to be taken in reliance upon, this communication or the information in it is prohibited and maybe unlawful. If you have received this communication in error please notify the sender by return email, delete it from your system and destroy any copies.</span></p>
<p><span style="font-family:'Arial';font-size:8pt;">**********************************************************************</span></p>
<p><span style="font-family:'Arial';font-size:8pt;">&nbsp;</span></p></body>

</html>