Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Copy-a-string/Amazing-Hopper/copy-a-string-1.hopper
Normal file
6
Task/Copy-a-string/Amazing-Hopper/copy-a-string-1.hopper
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include <hopper.h>
|
||||
main:
|
||||
s = "string to copy"
|
||||
t = s
|
||||
{s,"\n",t}println
|
||||
exit(0)
|
||||
6
Task/Copy-a-string/Amazing-Hopper/copy-a-string-2.hopper
Normal file
6
Task/Copy-a-string/Amazing-Hopper/copy-a-string-2.hopper
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include <hopper.h>
|
||||
main:
|
||||
s=""
|
||||
{"1:","string to copy"},cpy(s),println
|
||||
{"2:",s}println
|
||||
exit(0)
|
||||
6
Task/Copy-a-string/Amazing-Hopper/copy-a-string-3.hopper
Normal file
6
Task/Copy-a-string/Amazing-Hopper/copy-a-string-3.hopper
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include <hopper.h>
|
||||
main:
|
||||
s=""
|
||||
{"string to copy"},mov(s)
|
||||
{s}println
|
||||
exit(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue