Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-18-2006, 12:21 PM
realtytrac realtytrac is online now
Registered User
 
Join Date: 04-17-2006
Posts: 16
If Clause

Hi,

I want to be able to put an "if clause" in a build script where by if a certain value is passed into it using the API, it would run one course of the build, and if a nother value is passed in, it would run the other course.

The question is two part:

1) How do i make this "if clause" in the script itself?

2) How do i manipulate it using the API call.

thanks in advance

RT
Reply With Quote
  #2  
Old 04-18-2006, 04:16 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Use a conditional build rule based on the existence/value of a macro, then pass the macro on the command-line or define via the object model.
http://www.visualbuild.com/Manual/buildrules.htm
http://www.visualbuild.com/Manual/visbuildprosample.htm
Reply With Quote
  #3  
Old 04-18-2006, 05:37 PM
realtytrac realtytrac is online now
Registered User
 
Join Date: 04-17-2006
Posts: 16
thank you
Reply With Quote
Reply


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 07:14 AM.


Copyright © 1999-2023 Kinook Software, Inc.