Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
require 'dll'
|
||||
strdup=: 'msvcrt.dll _strdup >x *' cd <
|
||||
free=: 'msvcrt.dll free n x' cd <
|
||||
getstr=: free ] memr@,&0 _1
|
||||
|
||||
DupStr=:verb define
|
||||
try.
|
||||
getstr@strdup y
|
||||
catch.
|
||||
y
|
||||
end.
|
||||
)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
DupStr 'hello'
|
||||
hello
|
||||
getstr@strdup ::] 'hello'
|
||||
hello
|
||||
Loading…
Add table
Add a link
Reference in a new issue