Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
include ffl/hct.fs
|
||||
|
||||
\ Create a hash table 'table' in the dictionary with a starting size of 10
|
||||
|
||||
10 hct-create htable
|
||||
|
||||
\ Insert entries
|
||||
|
||||
5 s" foo" htable hct-insert
|
||||
10 s" bar" htable hct-insert
|
||||
15 s" baz" htable hct-insert
|
||||
|
||||
\ Get entry from the table
|
||||
|
||||
s" bar" htable hct-get [IF]
|
||||
.( Value:) . cr
|
||||
[ELSE]
|
||||
.( Entry not present.) cr
|
||||
[THEN]
|
||||
Loading…
Add table
Add a link
Reference in a new issue