Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

array equivalent in Dynamics (X++)

Posted on by 350

are there an x++ equivalent of lists or arrays?

I want to create many variables of the same type without having to create them one by one

Categories:
  • Luis Pascual Profile Picture
    Luis Pascual 350 on at
    RE: array equivalent in Dynamics (X++)

    thank you

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 225,588 Super User on at
    RE: array equivalent in Dynamics (X++)

    You can use the List class to create a list.

    X++ support arrays, but they're rarely used. I don't even know if they can be put into a list. You can either use a container instead, or collection classes, including Array.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans