Thread: Parsing error
View Single Post
  #1  
Old 05-10-2006, 11:52 AM
pjaiswal pjaiswal is online now
Registered User
 
Join Date: 01-26-2006
Posts: 30
Parsing error

My problem is very similar to the one mentioned in this link.

http://www.kinook.com/Forum/showthre...rsing+the+file

That is I have square brackets in my output and so have problems mailing the output as I get parse error. The olny difference in my script is that I am using a custom action written in C# to record the step errors, that is to create a temporary macro with the %LASTSTEP_OUTPUT%

This is what I am doing:

string strLastStepOutput = Builder.App.ExpandMacrosAndScript( "%LASTSTEP_OUTPUT%");


Builder.App.get_Macros( VisBuildSvr.MacroTypeEnum.vbldMacroTemporary ).Add( "LAST_FAILURE_OUTPUT", strLastStepOutput, "", "Output of the last failed step", false);


How can I use [vbld_EscapeString(vbld_AllMacros()("LASTSTEP_OUTPU T").Value)]

in the code above so that I dont have the square bracket problem?

Thanks,
Pragya
Reply With Quote