scripting question about 'define' and 'set defval'

Stephen R McMillan smcmillan at PLANALYTICS.COM
Thu Jan 8 01:13:28 EST 2009


Pablo,
I believe you should be able to do your 'set defval ht 'i' 'j' 'newvar 
immediately following the 'define newvar...' line.
Stephen



Pablo Romero <romero619 at HOTMAIL.COM> 
Sent by: GRADSUSR at LIST.CINECA.IT
01/07/2009 05:30 PM
Please respond to
GRADSUSR at LIST.CINECA.IT


To
GRADSUSR at LIST.CINECA.IT
cc

Subject
scripting question about 'define' and 'set defval'





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

Windows LiveTM: Keep your life in sync.  Check it out.



***************************************************
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.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090108/b58412b4/attachment.html 


More information about the gradsusr mailing list