Browse Source

fixed handling for substatus = 0

master
Pecha 1 year ago
parent
commit
b9d27caf2d
  1. 6
      Program.cs
  2. BIN
      bin/Debug/netcoreapp3.1/creachopedia.dll
  3. BIN
      bin/Debug/netcoreapp3.1/creachopedia.pdb
  4. BIN
      obj/Debug/netcoreapp3.1/creachopedia.dll
  5. BIN
      obj/Debug/netcoreapp3.1/creachopedia.pdb

6
Program.cs

@ -34,6 +34,9 @@ namespace creachopedia {
break;
case "add":
switch (substatus) {
case 0:
Console.WriteLine("please hit enter to continue");
break;
case 1:
Console.WriteLine("Please enter a name for the creacher! Or type (x) to cancel and step back to the previous category, or (q) to cancel addition entirely.");
break;
@ -61,7 +64,7 @@ namespace creachopedia {
if (status == "base") {
if (luserin == "q" || luserin == "quit") {
Console.WriteLine("Thank you for using the CreachoPedia, please come again!!!!");
Console.WriteLine("for you for using the CreachoPedia, please come again!!!!");
return;
}
if (creacherdict.ContainsKey(userin)) {
@ -92,7 +95,6 @@ namespace creachopedia {
else if (substatus == 0) {
status = "base";
substatus = 1;
Console.WriteLine("please hit enter to continue");
}
else if (substatus == 1) {
tempdict = new Dictionary<string, string>();

BIN
bin/Debug/netcoreapp3.1/creachopedia.dll

Binary file not shown.

BIN
bin/Debug/netcoreapp3.1/creachopedia.pdb

Binary file not shown.

BIN
obj/Debug/netcoreapp3.1/creachopedia.dll

Binary file not shown.

BIN
obj/Debug/netcoreapp3.1/creachopedia.pdb

Binary file not shown.
Loading…
Cancel
Save