AnsweredAssumed Answered


Question asked by VRFuser on Jul 16, 1997
send q VRf-VEE_Globals vrf david_j

from: Greg Goebel / HP-MXD / 970-679-3030 / FAX 970-679-5971
to:   VRf-Jeff Davis
date: Thursday, 17 July 1997 1319 MDT

> Date: Thu, 17 Jul 1997 13:07:46 -0500
> From: JeffTEF Davis-P25691 <>
> Subject: VRF: Delete globals at prerun
> 1.  VEE 4.01 Development environment has a DELETE GLOBALS AT PRERUN option in
> the default preferences menu.  What affect does this have in the 4.0 RUN ONLY
> (vxe) environment?  Is there a PRERUN condition with the 4.0 RO environment?

Sure, it executes just like it does in VEE development.  The Delete Globals
setting is carried along with the program and sets that function in VEERUN.

> 2.  We have quite a few programs that were developed in VEE 3.12  ---> We
> were storing some "flag" variables in globals.  These flags consisted of
> stuff like Test Count, Test results (PASS, FAIL, NOT TESTED, etc).  When
> porting these programs over to VEE 4.01 (Compatibility mode= CHECK), they
> work fine EXCEPT that the Runonly environment doesn't handle errors the same
> way. 
> When an error is encountered, it brings up the ERROR Message box, and the OK
> button terminates the program.  Is there ANY way around this other than
> revising my programs?  If not, then I suggest that you change the OK button

There's a difference in runtime philosophy inherent in VEE 4.0 ... the idea
was to have VEE imitate a .EXE program -- meaning that if you get an error
and don't trap it, the program bombs and you have to run it again (just as
though it were a C program).   Usually the idea is to set up the .VXE file
as an icon and run it directly.  We have had complaints about this because
values of globals are not retained, but the lab has been standing firm on the
.EXE runtime model.

> 3.  Can we get the EXECUTE PC object to execute a VXE program?  If yes then
> How?

Sure, just execute:

   veerun MyDirMyVEEpg.vxe

> Thanx,
> Jeff Davis - Rev 33.00

If you have more questions, let us know.

[<>] regards -- gvg