Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/picolisp /usr/lib/picolisp/lib.l
|
||||
|
||||
(load "@ext.l" "@lib/http.l" "@lib/xhtml.l" "@lib/form.l")
|
||||
|
||||
(zero *Count)
|
||||
|
||||
(de start ()
|
||||
(app)
|
||||
(action
|
||||
(html 0 "Clicks" NIL NIL
|
||||
(form NIL
|
||||
(gui '(+Init +TextField) "There have been no clicks yet")
|
||||
(----)
|
||||
(gui '(+JS +Button) "click me"
|
||||
'(set> (field -1)
|
||||
(pack "Clicked " (inc '*Count) " times") ) ) ) ) ) )
|
||||
|
||||
(server 8080 "!start")
|
||||
(wait)
|
||||
Loading…
Add table
Add a link
Reference in a new issue