Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-06-2011, 03:31 PM
Albin Albin is online now
Registered User
 
Join Date: 11-08-2011
Posts: 3
Creating Macro from Another Macro

Is there a way I can create a MACRO from another MACRO?

IE

Create a MACRO called HOST
HOST = REDHAT

Now I want to create a macro called REDHAT_COMPLETE based on the %HOST% Macro.

Thanks
Reply With Quote
  #2  
Old 12-06-2011, 03:58 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
See the attached sample.
Attached Files
File Type: bld Macro2.bld (759 Bytes, 960 views)
Reply With Quote
  #3  
Old 12-07-2011, 09:15 AM
Albin Albin is online now
Registered User
 
Join Date: 11-08-2011
Posts: 3
Thanks for the response.

Say I don't know what the host is, it's only created during runtime, basically I want to output a the MACRO that contains another Macro.

Example

loop (redhat, suse, solaris)
HOST = <loop value>
%HOST%_COMPLETE = TRUE
if % %HOST%_COMPLETE %
continue;
check HOST status

Last edited by Albin; 12-07-2011 at 09:24 AM.
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 05:43 PM.


Copyright © 1999-2023 Kinook Software, Inc.