Best way to create and initialize an array of strings?

Stimulsoft Reports.NET discussion
Post Reply
Greg_B
Posts: 3
Joined: Fri Oct 03, 2014 11:47 pm

Best way to create and initialize an array of strings?

Post by Greg_B »

Hi, I would like to create and initialize a new variable that will contain an array of 40 strings. For example: MyStringArray[n].

What is the best way to do this?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Best way to create and initialize an array of strings?

Post by HighAley »

Hello.

You could create a StringList variable like on image.
StringList.png
StringList.png (5.72 KiB) Viewed 1231 times
Other way is to create a array of sting on the Code tab.

Thank you.
Post Reply