Hi Alex,

After getting my todo app to work by editing the sample app I wanted to try
out a standalone version just to see if I understood all the moving parts.
I have two files
<https://gist.github.com/ckkashyap/b14b51510be9a1bd41bb70cf4478f390> -
todo.l (the main file) and tsk.l

tsk.l displays the tasks as expected (I have tsk.l inline for your
convenience)
(html 0 Ttl "@lib.css" NIL
    (form NIL
        (gui '(+Set +E/R +Chart) '((L) (filter bool L)) '(upds .  *ID)  3
            '( (U I) (with U (list (: dsc) (: dt) (: tm) ) ))
            '( (A B) (out "+/tmp/debug.txt" (prinl A B)))
        )
        (<table> 'chart NIL
            '(("em7" "Updates") ("em7" "Date") ("em7" "Time") )
            (do 4
                (<row> (alternating)
                    (gui 1 '(+TextField) 100)
                    (gui 2 '(+DateField) 100)
                    (gui 3 '(+TimeField) 100)
                )
             )
         )
         (scroll 4)
    )
)

However when I try to click on the scroll button or edit fields in the form
I get this error -

: [tsk.l:1] !? (inc '*Form)

"3" -- Number expected

?

Can you please tell me what's going on here? Also, are there tips for
debugging such scenarios?

Regards,
Kashyap

Reply via email to