Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] User Tips, Tricks and Samples

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-05-2010, 09:03 AM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
How to do this in a loop?

This is not a StarTeam question.

Currently I have separate StarTeam steps to say label different views with the same label. IOW

Step1: Label View1 with "Latest code"
Step2: Label View2 with "Latest code"
..etc

How can I set up a loop that calls the same StarTeam step in a subroutine, passing it the %VIEW_NAME% value? I want a subroutine since I may want to do other things also. I looked up the help file on Loops but I didn't get how I can do this with a Loop step.
Reply With Quote
  #2  
Old 02-05-2010, 11:02 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
See attached sample.
Attached Files
File Type: bld loop.bld (1.2 KB, 2189 views)
Reply With Quote
  #3  
Old 02-09-2010, 07:15 AM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
Thank you!!!

Also, if I want to apply a label to the root view, can I just pass a blank loop value, with "Process empty values" checked? IOW

Loop step has:
(blank)
View1
View2


Last edited by ChrisF; 02-09-2010 at 07:28 AM.
Reply With Quote
  #4  
Old 02-09-2010, 08:21 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Yes.
Reply With Quote
  #5  
Old 02-17-2010, 10:17 AM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
This should be moved to the Tips and TRicks section
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 12:09 PM.


Copyright © 1999-2023 Kinook Software, Inc.