AnsweredAssumed Answered

vrf Get Variable not found???

Question asked by VRFuser on Jun 30, 2008
John Ingram <ingram010@yahoo.com> wrote:
> Hi all
>  
> I have an annoying problem with 'get variable'  in runtime version.  I
> keep getting a get variable not found error in runtime yet the program
> works fine in the normal mode.
> Does anyone know why this is?
>  
>
The most common cause for this that I have seen is that the "delete variables at prerun" prference in VEE is _not_ set. Thus when you are developing the code you create some variable and since it doesn't get deleted it is hanging around when you need it during development.

But then at runtime you have a new instance of VEE so the variable doesn't exist and of course you get "variable not found"

i.e. in this scenario all looks good but the error is legitimate

SO- check your code to see if the variable really is getting set before you are trying to access it.

regards

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------


---
You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes