17 lines
452 B
Plaintext
17 lines
452 B
Plaintext
To run:
|
|
Start up.
|
|
Put "ha" into a string.
|
|
Append the string to itself given 5.
|
|
Write the string on the console.
|
|
Fill another string with the asterisk byte given 5.
|
|
Write the other string on the console.
|
|
Wait for the escape key.
|
|
Shut down.
|
|
|
|
To append a string to itself given a number:
|
|
If the number is less than 1, exit.
|
|
Privatize the string.
|
|
Privatize the number.
|
|
Subtract 1 from the number.
|
|
Append the string to the original string given the number.
|