View Single Post
  #1  
Old 06-13-2005, 05:00 PM
wrenczes wrenczes is online now
Registered User
 
Join Date: 06-13-2005
Posts: 1
macro expansion within a message log

Hi -

I've got a loop that is extracting strings from perforce comments and loads them into a macro one at a time, which I'm trying to dump out in a Message log, ie in the "message to log" field, I have:

The next entry is %macro%

This fails when %macro% contains a '[' character (Error parsing scripts: unrecoverable parse error at position xxx - expecting "]") . In order to fix the literal problem with the character, I tried changing the entry to this:

The next entry is [vbld_EscapeString(%macro%)]

but this fails as well.

Any ideas?
Reply With Quote