On Thu, 27 Apr 2000, Robert Graham Merkel wrote:
> >From the comments:
> 
> ;; Note that pretty much every parameter may be set to #f.  For
> ;; example, to define a "total column", you may wish to add an entry
> ;; to the spec list that sets html-proc to #f, but sets
> ;; total-html-proc and subtotal-html-proc.  This way, subtotals really
> ;; stand out.
> ;;
> 
> I just tried exactly this technique (have a column with html-proc 
> set to #f) and it causes a crash.
> 
> Do you get the same behaviour?

It used to work.  :)

Here's an html-table-do-entry that works.  Sorry.

(define (html-table-do-entry line specs)
  (map
   (lambda (spec)
     (cond ((and (report-spec-get-get-value-proc spec)
                 (report-spec-get-html-proc spec))
            ((report-spec-get-html-proc spec)
             ((report-spec-get-get-value-proc spec) line)))
           (else #f)))
   specs))
-- 
-------------
Bryan Larsen, Senior Software Engineer & fall guy
Phone:  306 664 2087 x29.   Fax:  306 664 4446
Analog Design Automation:  Analog Circuit Synthesis?  Problem Solved.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to