Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
simple_run=: {{
|
||||
simple_clicks=: 0 NB. initialize accumulator
|
||||
wd {{)n
|
||||
pc simple closeok escclose;
|
||||
cc click button;cn "Click me";
|
||||
cc message static;cn "There have been no clicks yet.";
|
||||
pshow;
|
||||
}}}}
|
||||
simple_run''
|
||||
|
||||
simple_click_button=: {{wd 'set message text Button-use count: ',": simple_clicks=: 1+simple_clicks}}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
SIMPLEAPP=: noun define
|
||||
pc simpleApp;
|
||||
cc inc button;cn "Click me";
|
||||
cc shownText static;cn "There have been no clicks yet.";
|
||||
)
|
||||
|
||||
simpleApp_run=: verb define
|
||||
wd SIMPLEAPP
|
||||
simpleApp_accum=: 0 NB. initialize accumulator
|
||||
wd 'pshow;'
|
||||
)
|
||||
|
||||
simpleApp_inc_button=: verb define
|
||||
wd 'set shownText text ','Button-use count: ',": simpleApp_accum=: >: simpleApp_accum
|
||||
)
|
||||
|
||||
simpleApp_close=: wd bind 'pclose'
|
||||
simpleApp_cancel=: simpleApp_close
|
||||
|
||||
simpleApp_run''
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
SIMPLEAPP=: noun define
|
||||
pc simpleApp;
|
||||
xywh 131 11 44 12;cc inc button;cn "Click me";
|
||||
xywh 7 10 115 11;cc shownText static;cn "There have been no clicks yet.";
|
||||
pas 6 6;pcenter;
|
||||
rem form end;
|
||||
)
|
||||
|
||||
simpleApp_run=: verb define
|
||||
wd SIMPLEAPP
|
||||
simpleApp_accum=: 0 NB. initialize accumulator
|
||||
wd 'pshow;'
|
||||
)
|
||||
|
||||
simpleApp_inc_button=: verb define
|
||||
wd 'set shownText *','Button-use count: ',": simpleApp_accum=: >: simpleApp_accum
|
||||
)
|
||||
|
||||
simpleApp_close=: wd bind 'pclose'
|
||||
simpleApp_cancel=: simpleApp_close
|
||||
|
||||
simpleApp_run''
|
||||
Loading…
Add table
Add a link
Reference in a new issue