Skip to content

Commit

Permalink
Added Command_List Array
Browse files Browse the repository at this point in the history
  • Loading branch information
sbhadr authored Dec 22, 2016
1 parent 1a3cc96 commit 471afbc
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Lib/Bin/Core/Modules/Error.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,25 @@
"[Nutty] <Test Comment>", #7
"[Nutty] Test Failed.", #8
"[Nutty] Undefined Variable.", #9
"[Nutty] Requires a single string as an Argument.", #10
"[Nutty] Closing Shell.", #11
"[Nutty] Shell Exited current Session.", #12
"[Nutty] Compiler requires a path to target file as its single argument.", #13
"[Nutty] Executing file.", #14
"[Nutty] Name needed as first argument. Example: 'credits '", #15
]

Command_List = [
"========================================", #0
"[Nutty] Loading Shell.", #1
"[Nutty] Shell Loaded.", #2
"========================================", #3
"Nutty v1.31.3b (Beta, last updated: Dec/18/2016, 8:58pm est) [Multi-Platform]", #4
"Type [help] for more information.", #5
"========================================", #6
]

#Table check
def Test_Error_List():
if Toggle_Test_1 is True:
print(Error_List[5])
Expand All @@ -25,4 +42,4 @@ def Test_Error_List():
else:
print(Error_List[8])

#Test_Error_List()
#Test_Error_List()

0 comments on commit 471afbc

Please sign in to comment.