|
#1
|
|||
|
|||
Problem with special character %
I read from a table all the values from a specific field,store the current value in a macro %MACRO1% and compare it with some other macro %MACRO2% (in a step which is executed with the condition like 'Build only if macro or expression ).
Problem is when reading the table sometimes the field contains a string with special char % -in such a cases the build fails: Error expanding macros or script in property condexpr: <Error parsing macros: Unrecoverable Parse Error at position 540 - expecting percent_sign> because it finds inside the macro just one char % and tries to interpret it as a macro. Is there anyway i can make VBP to interpret the content of a macro as it is -without considering % as a macro sign -or the only way is to parse the content of the macro and changing it by doubling all the % chars? |
#2
|
|||
|
|||
Use vbld_EscapeString when storing the macro value to escape any special characters.
http://www.kinook.com/VisBuildPro/Ma...scriptmisc.htm |
#3
|
|||
|
|||
thanks a lot for info!
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|