Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Frequently Asked Questions > Troubleshooting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-24-2011, 03:27 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,224
Resolving problems with multiple evaluation of script expressions

When upgrading to Visual Build v7 or later and building with the GUI app, you might encounter a situation where builds no longer behave as expected, if script expressions are used in step properties or conditional build rules. To resolve this, clear out the Watches pane or remove any [Step] and [LastStep] entries from it (View | Other Windows | Watches).
http://www.kinook.com/VisBuildPro/Ma...atchespane.htm

By default, the Watches pane (new in v7) is populated with the Step and LastStep properties. When a step object is shown in the Watches pane, its property values are evaluated and displayed, resulting in script expressions such as vbld_NextDelimValue in a conditional expression or other step properties getting evaluated (and changing the value of that temp macro) whenever the Watches pane gets refreshed.

In v7+, the Loop action can now be used instead of vbld_NextDelimValue to iterate over values (in lists, files, recordsets, etc.) more easily and without these side effects.
http://www.kinook.com/VisBuildPro/Manual/loopaction.htm
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:17 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 1999-2014 Kinook Software, Inc.