You need to remove the extra double-quote character at the beginning of
the last line.
In other words, instead of this:
return ""<f name=MetaPlusBookCaps>" +Rule("AddressLCRULE");
You need to do this:
return "<f name=MetaPlusBookCaps>" +Rule("AddressLCRULE");
The Rule Editor is actually telling you where the syntax error is. Try
this: click Validate in the Rule Editor. The error message will tell
you on which line the error occurred. But there's more: Click OK to
dismiss the Error message box, and then look at the rule syntax. The
position where the syntax error occurred will be selected. In this
case, it will select the "n" at the start of the word "name" on the last
line. The actual error is a few characters before that.
The reason that the error is at the letter "n" is because, if you remove
the rest of the line, this syntax is perfectly valid:
return ""<f
This is saying "return true if the value of an empty string is less than
the value of the variable f, otherwise return false". But you don't
want to be doing a "less than" comparison, you want to return a string
literal. Unfortunately, the extra double-quote is creating an empty
string literal, and then the rest of the line is being interpreted as
code instead of as part of the string, which leads to the error. The
interpreter thinks you're starting a new statement after that return
statement, at the word "name", and if you have more than one statement
on a line, it expects them to be delimited with semicolons.
Even if that last paragraph didn't make any sense, just remember to look
at where the editor is highlighting the error. The problem will either
be right there, or it will be just a bit before that.
Dan
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--