Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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