scripting question about 'define' and 'set defval'

Pablo Romero romero619 at HOTMAIL.COM
Thu Jan 8 10:33:20 EST 2009

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

Date: Thu, 8 Jan 2009 00:13:28 -0600From: smcmillan at PLANALYTICS.COMSubject: Re: scripting question about 'define' and 'set defval'To: GRADSUSR at LIST.CINECA.ITPablo,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 toGRADSUSR at LIST.CINECA.IT



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.***************************************************
Windows Live™: Keep your life in sync.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the gradsusr mailing list