Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-05-2007, 10:58 AM
John Kerr John Kerr is online now
Registered User
 
Join Date: 08-17-2006
Posts: 10
Question Macros and Perl

How can I assigm the value of a Project Macro to a variable in Perl? I see how to do this for a temporay Macro: $build_num = vbld_TempMacroObj(BUILDNUMBER);

I don't see a similar function to return the value of a Project Macro.

Thanx
Reply With Quote
  #2  
Old 04-06-2007, 04:35 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
Does the macro contain an object or just a value? Just use vbld_AllMacros()("MACRONAME") to get the value.

An object can't be persisted past the execution of a build so I would recommend storing objects only in temporary macros anyway...
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 06:43 PM.


Copyright © 1999-2023 Kinook Software, Inc.