It may be a bug in the server related to the order in which the tags are processed. It looks like it's doing the calc tag before the var tag.
You may be able to work around it by building the whole calc tag in a var and evaluating that: <@assign local$calcTag value='<@literal "<@">calc expr="'here fido' contains fido">'> <@var calcTag> returns <@var calcTag encoding=metahtml> It's not pretty, and it breaks the color coding in the editor, but at least it works on the server. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Simon Boddy Sent: Wednesday, December 04, 2002 10:21 AM To: Multiple recipients of list witango-talk Subject: Witango-Talk: dynamically generating <@calc> expressions Ok, while we're on the <@calc> tag, can anyone tell me why <@calc "'Here fido' contains fido"> works (returns 1), whereas <@assign expr "'Here fido' contains fido"> <@calc "<@var expr encoding=none>"> throws a Closing-bracket-missing error? Thanks in advance. Simon Boddy -- ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
