Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-15-2007, 01:09 PM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
How do you delete a set of macros that may or maynot be created during a build run?

Hello.

I would like to delete a set of temporary macros that are created for one group of steps and after that is done, these newly created macros are deleted. I suppose I need to delete them because they will be recreated again for the next group of steps but they may be given a different value. I know there is an option to delete the named macro, but what if that macro doesn't exist? Will it fail?

I am using a 'Process Files' action step to check if a certain filename is written in a log file and if so, create/set a temp. macro to a value. Each time a filename is processed, the index number is incremented. I am using the PROCFILES_CURRENT temp. macro created by the 'Process Files' action step for indexing. I append the index number to the name of the temp. macro being /created/set. If the filename is not found, that macro with the corresponding index number to be attached to the name is not created. Therefore, sometimes macros are created and there may be times when none are. I want to keep things simple and I would like to keep using the same name for the temp. macros, but I suppose because of the inconsistencies, I would need to delete the ones that are created. Is this possible? Thanks in advance.
Reply With Quote
 


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 11:09 AM.


Copyright © 1999-2023 Kinook Software, Inc.