Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   If Clause (https://www.kinook.com/Forum/showthread.php?t=1691)

realtytrac 04-18-2006 12:21 PM

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

kinook 04-18-2006 04:16 PM

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

realtytrac 04-18-2006 05:37 PM

thank you


All times are GMT -5. The time now is 05:24 PM.


Copyright © 1999-2023 Kinook Software, Inc.