Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -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''
|
||||
Loading…
Add table
Add a link
Reference in a new issue