Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Repeat-a-string/Liberty-BASIC/repeat-a-string.basic
Normal file
12
Task/Repeat-a-string/Liberty-BASIC/repeat-a-string.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
a$ ="ha "
|
||||
print StringRepeat$( a$, 5)
|
||||
|
||||
end
|
||||
|
||||
function StringRepeat$( in$, n)
|
||||
o$ =""
|
||||
for i =1 to n
|
||||
o$ =o$ +in$
|
||||
next i
|
||||
StringRepeat$ =o$
|
||||
end function
|
||||
Loading…
Add table
Add a link
Reference in a new issue