mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
move to test folder and fix import bug in shell
This commit is contained in:
19
example.ar
19
example.ar
@@ -1,19 +0,0 @@
|
||||
let getInitials(name) = do
|
||||
name = name.upper()
|
||||
namesplit = name.split(" ")
|
||||
i = 0
|
||||
while (i < namesplit.length) do
|
||||
namesplit[i] = namesplit[i][0]
|
||||
i = i + 1
|
||||
return namesplit.join("")
|
||||
|
||||
name = "william bell"
|
||||
term.log(getInitials(name))
|
||||
term.log(name)
|
||||
|
||||
let addLastName(name) = do
|
||||
name.append(" Bell")
|
||||
|
||||
name = "William"
|
||||
addLastName(name)
|
||||
term.log(name)
|
||||
Reference in New Issue
Block a user