Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dynamicsax2012-msdn/declaration-of-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ At times you might want a variable to have a value other than the default as soo

// Assigns value of pi to 12 significant digits

real pi = 3.14159265359;
Real pi = 3.14159265359;

Another syntax is needed to initialize objects because they are initialized by invoking the new method on the class:

Expand All @@ -39,11 +39,11 @@ X++ allows you to declare more than one variable in the same declaration stateme

// Declares 2 integers, i and j

int i,j;
Int i,j;

// Declares array with 100 integers with 5 in memory and b as integer with value 1

int a\[100,5\], b=1;
Int a\[100,5\], b=1;

## Summary

Expand Down