generated from seanpm2001/Template_Journaling_V4
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
PROJECT_LANG_2_V1.ex
20 lines (20 loc) · 1.13 KB
/
PROJECT_LANG_2_V1.ex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Start of script
# I chose Elixir as the second language for this project (SeansLifeArchive_Images_Discord) as Elixir is one of the 4 main languages that Discord is written in. This project is all about Discord, so it fits.
# Definitions
def projectLangTwo_IEX {
iex> IO.puts("I chose Elixir as the second language for this project (SeansLifeArchive_Images_Discord) as Elixir is one of the 4 main languages that Discord is written in. This project is all about Discord, so it fits.")
}
def projectLangTwo_Standard {
print ("I chose Elixir as the second language for this project (SeansLifeArchive_Images_Discord) as Elixir is one of the 4 main languages that Discord is written in. This project is all about Discord, so it fits.")
}
# Output
try projectLangTwo_Standard()
else: {
try projectLangTwo_IEX() # Not all systems may support the standard, so IEX is used as a backup.
}
# I don't know how to write in Elixir, so this is a demo script and likely doesn't work.
# File info
# File type: Elixir source file (*.ex)
# File version: 1 (Wednesday, April 14th 2021 at 4:47 pm)
# Line count (including blank lines and compiler line): 21
# End of script