Hello Chris,
An archeological dig discovered that on Tuesday, July 2, 2002 at 08:29
GMT +0100, Chris Weaven [CW] typed the following:
CW> When I press the reply button, no text from your mail is carried
CW> over. Here is my template;
CW> On %QINCLUDE="Date" %QINCLUDE="Time", which was %ODATE="dddd, %-
CW> mmmm d, yyyy ""at"" hh:nn" where I am, %OFROMFNAME %OFROMLNAME
[%QINCLUDE='Initials'] wrote;
CW> %Quotestyle= %QINCLUDE="QuotesInit"
^^^^^^^^^^^^
Delete this. You already have the %QUOTESTYLE macro in your
QuotesInit QT. All you need in your main template is the
%QInclude="..." part.
The technical problem is, you need to use a delimiter around the
argument. In other words, it should be:
%QuoteStyle='%QINCLUDE="QuotesInit"'
While it is true that this version allows you to use almost any
character as a delimiter, spaces won't usually work simply because
spaces at the end of a line will be stripped by the editor. When TB
doesn't see that second space, it thinks the rest of your template is
part of the argument to %QuoteStyle. In other words, it causes major
confusion.
CW> Also, I like the attribution line because the text was written on
CW> different days because of the time difference, but if there was no
CW> time difference, I'd like to line to only show the time for my bit
CW> rather than the whole day. I'm sure we'll need an if function in
CW> there somewhere!?
Yes. The easiest is to replace the whole %ODATE='...' bit with:
%IF:'%QINCLUDE="Time"'='%ODATE="hh:nn"':'%-
%ODATE="hh:nn"':'%-
%ODATE="dddd, mmmm d, yyyy ""at"" hh:nn"%-
CW> Yup. I carried them all over, but something still seems very wrong
I don't follow, what is wrong? Your attribution line seemed to come up
with the initials ok.
--
Thanks for writing,
Januk Aggarwal
Was August Mobius so rigid that he could only see one side of a question?
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]