[Zope] <% ... %> ?

Jim Fulton jim@digicool.com
Tue, 15 Jun 1999 09:44:22 -0400


Paul Everitt wrote:
> 

(snip)

> > It would be helpful to make hideuosness a little more specific.
> 
> Good point.
> 
> > What makes it hideous?  Is it the noice characters? (!--#)
> > Is it the number of shift characters?  Is it the fact that
> > DTML don't look like other tags?  Is it the tag in an attribute
> > problem mentioned above?
> 
> I'd say, in order:
> 
(snip)
> 3) When something interesting requires the expr machinery, you can only
> do one expression per line.  (Note that this complaint isn't slated to
> be solved by a syntax change in DTML, just that it is a common
> complaint).

Do you mean only one line per expression?  You can have multiple expressions
per line *and* have multiple lines per expression::

  <!--#var "x+1"--><!--#var "x+2"--><!--#var "x+
      2+
      3"-->

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.