EBROWN Posted February 27, 2012 Posted February 27, 2012 Thank you Lee, I must have tried 100 different combinations. Why did it require the two \..... I watched the field expression build as I picked the property:, Format:, Precision:, additional Format: So I thought I might need a \ between each field but not the location you suggested. And of course you are correct. Thanks again Lee EBROWN Quote
Lee Mac Posted February 27, 2012 Posted February 27, 2012 In LISP the backslash is an Escape Character; this means it can be used to give the subsequent sequence of characters an alternative meaning, for example: \n = new line character \t = tab character \r = carriage return ... Hence, if you want to use a literal backslash, you need to mark it as a literal by prefixing it with another backslash '\\'. In the original Field Expression we had: \f "%lu5%pr5%ps[,\"]" Since the expression contains characters that have other meanings ('\' and '"') we need to mark these characters as literals by prefixing them with a backslash: [b][color=red]\[/color][/b]\f [b][color=red]\[/color][/b]"%lu5%pr5%ps[,[b][color=red]\[/color][/b]\[b][color=red]\[/color][/b]"][b][color=red]\[/color][/b]" Quote
EBROWN Posted February 27, 2012 Posted February 27, 2012 Lee, Thanks for the explanation. And being around to help. Many Thanks, Ebrown Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.