Website may be up and down over next few months. I'm currently doing a complete overhaul of everything. Going back to simple individual .htm pages, new overall site theme, sanitizing and cleaning up html of all pages and blog posts, attempting to implement a new tooling and publishing system etc etc.

xGameConsoleXNA Using functions

Every command that is loaded into the console can be used to return a result. Example one demonstrates how to use the echo command that prints the output result of the help command. Notice that "help commands" is surrounded by [ and ] characters. These characters define the beginning and end of a function.

Example 1: echo [ help commands ]

In example two we use two function calls that results in the text "First, second." being written to the console.

Example 2: echo [ echo First ] [ echo , second. ]

In example three we use two function calls, and in the second function call we embed a third function call that results in the text "First, second, and third." being written to the console.

Example 3: echo [ echo First ] [ echo , second [ echo , and third. ] ]

As you can see by using function calls the xGameConsoleXNA console provides the user with a much more powerful command system for interacting with and debugging your games.

Created by: X

Just another personal website in this crazy online world

Name of author Dean Lunz (aka Created by: X)
Computer programming nerd, and tech geek.
About Me -- Resume