Home > Ax Resources > Stack Implementation classes in Ax

Stack Implementation classes in Ax

September 20, 2006 Leave a comment Go to comments

<![CDATA[

 
 
     Dynamics Ax provides two different stack implementations the stack and stackbase namely. The stack class is based on containers, so you could push pop elements of anytype in to the stack where as the stackbase implementation is based on map and it allows the user to decide the content type of the stack at initialization, by default it is of type class.
(Please note: stackbase is available only in 4.0)
example:
 
      //Creates a stack that can hold only strings
      StackBase stackBase = new StackBase(Types::String);

 
      //Creates a stack that can hold only type of data
      Stack stack = new Stack();
 
  ………..Wow
 

]]>

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: