Here is my code and my error.

<dtml-in "_.getitem(ProgCode,0).CL">
<dtml-let item=sequence-item>
  <dtml-var "item[0]">

Zope has encountered an error while publishing this resource.

           Error Type: IndexError
           Error Value: string index out of range

CL is a property of a dtml document and is a list of courses for a
given program. My goal is to test character 8 of each line and if it
is a - (dash) then it represents a course name which I will usr to
point to a course description.
Any help?
Terry Babbey
Technical Support Specialist
Lambton College, Sarnia, Ontario, Canada

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to