Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-13-2005, 08:41 AM
AndyFarr AndyFarr is online now
Registered User
 
Join Date: 08-12-2004
Posts: 16
Set Result of SubroutineStep

I have a build that uses allot of Subroutines. I would like to set the Result Status of the Subroutine call based on what happened to one or more parts of the subroutine. Is there any way of returning a pass/fail in a sub routine ?

This would be to mainly indicate visually what happened in the main build screen.

Andy
Reply With Quote
  #2  
Old 06-13-2005, 08:57 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Store the result in a temporary macro using a Set Macro or Run Script step.
Reply With Quote
  #3  
Old 06-13-2005, 09:02 AM
AndyFarr AndyFarr is online now
Registered User
 
Join Date: 08-12-2004
Posts: 16
??

How do I update the status of the subroutine call step in my main build ?
Reply With Quote
  #4  
Old 06-13-2005, 09:09 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
You can't update the status of the Subroutine Call step. Typically, you would allow the build to fail in the subroutine if something fails there. If you want the build to continue even if a step in the subroutine fails, check the status (stored in a temp macro by the subroutine) in the step following the Subroutine Call step and do what you want to indicate that a failure occurred in the subroutine.
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 02:22 AM.


Copyright © 1999-2023 Kinook Software, Inc.