Click here to Skip to main content
15,916,379 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting exception message "Incorrect syntax near '(' " in C# web app Pin
Eddy Vluggen29-Mar-19 2:56
professionalEddy Vluggen29-Mar-19 2:56 
QuestionDebugging + MSTest + Multiple Startup Project question Pin
Super Lloyd28-Mar-19 19:59
Super Lloyd28-Mar-19 19:59 
AnswerRe: Debugging + MSTest + Multiple Startup Project question Pin
Super Lloyd1-Apr-19 14:04
Super Lloyd1-Apr-19 14:04 
QuestionLooks like C# does not support Global Variables Pin
Brian_TheLion27-Mar-19 23:43
Brian_TheLion27-Mar-19 23:43 
AnswerRe: Looks like C# does not support Global Variables Pin
Richard MacCutchan27-Mar-19 23:46
mveRichard MacCutchan27-Mar-19 23:46 
AnswerRe: Looks like C# does not support Global Variables Pin
OriginalGriff27-Mar-19 23:57
mveOriginalGriff27-Mar-19 23:57 
GeneralRe: Looks like C# does not support Global Variables Pin
Richard MacCutchan28-Mar-19 0:08
mveRichard MacCutchan28-Mar-19 0:08 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 0:09
Brian_TheLion28-Mar-19 0:09 
I have been reading books and took a look at some tutorials on line Griff. I used the knowledge I gained to start work in writing my programs. My first attempt was to use procedures when the code was repeating in places. I managed to get the adventure compiler to work without any problems. I'm now working on the adventure driver.

Due to the type of game it has at least 32 variables for things such as Romm Names, Room Locations, Room Descriptions etc Some procedures require many variables to produce a result and some variables are used many times in procedures. The use of arrays also helped to simplify the code.

I'm now looking at using classes as a way to wrote the adventure driver code as I can't use global variables.

Brian
GeneralRe: Looks like C# does not support Global Variables Pin
OriginalGriff28-Mar-19 0:21
mveOriginalGriff28-Mar-19 0:21 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 0:35
Brian_TheLion28-Mar-19 0:35 
GeneralRe: Looks like C# does not support Global Variables Pin
OriginalGriff28-Mar-19 0:42
mveOriginalGriff28-Mar-19 0:42 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 0:49
Brian_TheLion28-Mar-19 0:49 
GeneralRe: Looks like C# does not support Global Variables Pin
Luc Pattyn28-Mar-19 0:32
sitebuilderLuc Pattyn28-Mar-19 0:32 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 0:41
Brian_TheLion28-Mar-19 0:41 
GeneralRe: Looks like C# does not support Global Variables Pin
Luc Pattyn28-Mar-19 0:51
sitebuilderLuc Pattyn28-Mar-19 0:51 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 0:57
Brian_TheLion28-Mar-19 0:57 
GeneralRe: Looks like C# does not support Global Variables Pin
Luc Pattyn28-Mar-19 1:07
sitebuilderLuc Pattyn28-Mar-19 1:07 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 1:31
Brian_TheLion28-Mar-19 1:31 
GeneralRe: Looks like C# does not support Global Variables Pin
Luc Pattyn28-Mar-19 1:37
sitebuilderLuc Pattyn28-Mar-19 1:37 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 2:03
Brian_TheLion28-Mar-19 2:03 
GeneralRe: Looks like C# does not support Global Variables Pin
OriginalGriff28-Mar-19 3:26
mveOriginalGriff28-Mar-19 3:26 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion28-Mar-19 16:54
Brian_TheLion28-Mar-19 16:54 
GeneralRe: Looks like C# does not support Global Variables Pin
OriginalGriff29-Mar-19 2:33
mveOriginalGriff29-Mar-19 2:33 
GeneralRe: Looks like C# does not support Global Variables Pin
Brian_TheLion29-Mar-19 3:39
Brian_TheLion29-Mar-19 3:39 
GeneralRe: Looks like C# does not support Global Variables Pin
OriginalGriff1-Apr-19 20:01
mveOriginalGriff1-Apr-19 20:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.